编辑器 优化

START
鹿和sa0ChunLuyu 2 years ago
parent 41d37bf8e3
commit 6bbcc4fa35

@ -29,17 +29,18 @@ const createTinymce = () => {
tinymce.init({
selector: `#editor`,
language: 'zh_CN',
plugins: "code image axupimgs",
plugins: "code image axupimgs codesample",
toolbar: 'undo redo ' +
'| code axupimgs' +
'| formatselect fontselect fontsizeselect ' +
'| bold italic underline strikethrough ' +
'| alignleft aligncenter alignright alignjustify ' +
'| cut copy paste ' +
'| bullist numlist ' +
'| outdent indent ' +
'| blockquote removeformat ' +
'| subscript superscript',
'| codesample code ' +
'| axupimgs ' +
'| formatselect fontselect fontsizeselect ' +
'| forecolor backcolor bold italic underline strikethrough ' +
'| alignleft aligncenter alignright alignjustify ' +
'| cut copy paste ' +
'| bullist numlist ' +
'| outdent indent ' +
'| blockquote removeformat ' +
'| subscript superscript',
menubar: false,
width: 1000,
height: 300,

Loading…
Cancel
Save