Ver código fonte

合并xqc_387

yujinwen 1 semana atrás
pai
commit
8c13efa545

+ 2 - 1
src/views/ppt_manage/newVersion/utils/tinymceSetting.js

@@ -3,12 +3,13 @@ export const setting = {
     toolbar: [
         "indent outdent alignleft aligncenter alignright alignjustify forecolor",
         "bold italic underline strikethrough numlist bullist backcolor",
-        "fontselect fontsizeselect",
+        "lineheight fontselect fontsizeselect",
     ],
     quickbars_selection_toolbar:false,  
     quickbars_insert_toolbar: false,
     plugins: "lists quickbars paste",
     paste_as_text: true,
+    lineheight_formats:'1 1.15 1.5 2',
     fontsize_formats:'6px 8px 10px 12px 14px 16px 18px 20px 22px 24px 36px 48px',
     font_formats:`微软雅黑='微软雅黑';宋体='宋体';黑体='黑体';仿宋='仿宋';
             楷体='楷体';隶书='隶书';幼圆='幼圆';思源宋体='思源宋体';思源黑体='思源黑体';Andale Mono=andale mono,times;