编辑器 优化

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

@ -29,11 +29,12 @@ const createTinymce = () => {
tinymce.init({ tinymce.init({
selector: `#editor`, selector: `#editor`,
language: 'zh_CN', language: 'zh_CN',
plugins: "code image axupimgs", plugins: "code image axupimgs codesample",
toolbar: 'undo redo ' + toolbar: 'undo redo ' +
'| code axupimgs' + '| codesample code ' +
'| axupimgs ' +
'| formatselect fontselect fontsizeselect ' + '| formatselect fontselect fontsizeselect ' +
'| bold italic underline strikethrough ' + '| forecolor backcolor bold italic underline strikethrough ' +
'| alignleft aligncenter alignright alignjustify ' + '| alignleft aligncenter alignright alignjustify ' +
'| cut copy paste ' + '| cut copy paste ' +
'| bullist numlist ' + '| bullist numlist ' +

Loading…
Cancel
Save