|
@@ -82,7 +82,7 @@ export const DEFAULT_CONFIG = {
|
|
|
skin_url: BASE_URL + 'tinymce/skins/ui/oxide',
|
|
skin_url: BASE_URL + 'tinymce/skins/ui/oxide',
|
|
|
content_css: BASE_URL + 'tinymce/skins/content/default/content.min.css',
|
|
content_css: BASE_URL + 'tinymce/skins/content/default/content.min.css',
|
|
|
language_url: BASE_URL + 'tinymce/langs/zh_CN.js',
|
|
language_url: BASE_URL + 'tinymce/langs/zh_CN.js',
|
|
|
- language: 'zh-CN',
|
|
|
|
|
|
|
+ language: 'zh_CN',
|
|
|
plugins: PLUGINS,
|
|
plugins: PLUGINS,
|
|
|
toolbar: TOOLBAR,
|
|
toolbar: TOOLBAR,
|
|
|
draggable_modal: true,
|
|
draggable_modal: true,
|
|
@@ -98,7 +98,6 @@ export const DEFAULT_CONFIG = {
|
|
|
file_picker_types: 'media',
|
|
file_picker_types: 'media',
|
|
|
file_picker_callback: () => {}
|
|
file_picker_callback: () => {}
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
// 暗黑主题配置
|
|
// 暗黑主题配置
|
|
|
export const DARK_CONFIG = {
|
|
export const DARK_CONFIG = {
|
|
|
skin_url: BASE_URL + 'tinymce/skins/ui/oxide-dark',
|
|
skin_url: BASE_URL + 'tinymce/skins/ui/oxide-dark',
|
|
@@ -227,3 +226,4 @@ export function openAlert(editor, option = {}) {
|
|
|
]
|
|
]
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+
|