mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
no message
This commit is contained in:
parent
7a275bd802
commit
617e0837c9
@ -319,7 +319,6 @@ export default {
|
||||
resize: !isFull,
|
||||
convert_urls: false,
|
||||
toolbar_mode: 'sliding',
|
||||
content_css: this.themeName === 'dark' ? 'dark' : 'default',
|
||||
setup: (editor) => {
|
||||
editor.ui.registry.addMenuButton('uploadImages', {
|
||||
text: this.$L('图片'),
|
||||
@ -476,6 +475,9 @@ export default {
|
||||
}
|
||||
},
|
||||
};
|
||||
if (!optionInfo.inline) {
|
||||
optionInfo.content_css = this.themeName === 'dark' ? 'dark' : 'default';
|
||||
}
|
||||
if (this.autoSize) {
|
||||
optionInfo.plugins.push('autoresize')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user