|
@@ -103,10 +103,13 @@ export default {
|
|
|
branding: false,
|
|
|
plugins: plugins,
|
|
|
end_container_on_empty_block: true,
|
|
|
- // powerpaste_word_import: 'clean', //粘贴时为简洁模式
|
|
|
- powerpaste_word_import: 'propmt', // 粘贴word时 为完整模式
|
|
|
- // powerpaste_html_import: 'propmt', // 粘贴html时, 为完整模式
|
|
|
-
|
|
|
+ powerpaste_word_import: 'clean', // 粘贴时为简洁模式
|
|
|
+ // powerpaste_word_import: 'propmt', // 粘贴word时 为完整模式
|
|
|
+ powerpaste_html_import: 'clean', // 粘贴html时, 为完整模式
|
|
|
+ paste_preprocess: function(plugin, args) {
|
|
|
+ const re1 = new RegExp('<.+?>', 'g')
|
|
|
+ args.content = args.content.replace(re1, '')
|
|
|
+ },
|
|
|
code_dialog_height: 450,
|
|
|
code_dialog_width: 1000,
|
|
|
advlist_bullet_styles: 'square',
|