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