|
@@ -67,6 +67,9 @@ class EditorInput extends React.Component {
|
|
images_file_types: 'jpeg,jpg,png,gif,bmp,webp',
|
|
images_file_types: 'jpeg,jpg,png,gif,bmp,webp',
|
|
menubar: false, // 隐藏最上方menu
|
|
menubar: false, // 隐藏最上方menu
|
|
default_link_target: "_blank", // 默认链接打开方式
|
|
default_link_target: "_blank", // 默认链接打开方式
|
|
|
|
+ target_list:[
|
|
|
|
+ {title: '新窗口', value: '_blank'}
|
|
|
|
+ ],
|
|
fontsize_formats: '14px 16px 18px 20px 24px 26px 28px 30px 32px 36px', // 字体大小
|
|
fontsize_formats: '14px 16px 18px 20px 24px 26px 28px 30px 32px 36px', // 字体大小
|
|
file_picker_types: 'image',
|
|
file_picker_types: 'image',
|
|
charmap_append: [
|
|
charmap_append: [
|
|
@@ -76,7 +79,7 @@ class EditorInput extends React.Component {
|
|
],
|
|
],
|
|
images_upload_credentials: true,
|
|
images_upload_credentials: true,
|
|
plugins: 'fullscreen lists table textcolor wordcount contextmenu codesample link imagetools charmap', // 引入插件
|
|
plugins: 'fullscreen lists table textcolor wordcount contextmenu codesample link imagetools charmap', // 引入插件
|
|
- toolbar: 'fullscreen bold italic underline strikethrough | link fontsizeselect | forecolor backcolor charmap | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent table | undo redo | removeformat formatselect codesample',
|
|
|
|
|
|
+ toolbar: 'fullscreen bold italic underline strikethrough | fontsizeselect | forecolor backcolor link codesample | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent table | undo redo | removeformat formatselect charmap',
|
|
table_toolbar: 'tableprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | tablemergecells tablesplitcells',
|
|
table_toolbar: 'tableprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | tablemergecells tablesplitcells',
|
|
relative_urls: false,
|
|
relative_urls: false,
|
|
images_upload_url: 'http://star.xiaojukeji.com/upload/img.node',
|
|
images_upload_url: 'http://star.xiaojukeji.com/upload/img.node',
|