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