diff --git a/public/static/components/tinymce/icons/default/icons.min.js b/public/styles/tinymce/icons/default/icons.min.js similarity index 100% rename from public/static/components/tinymce/icons/default/icons.min.js rename to public/styles/tinymce/icons/default/icons.min.js diff --git a/public/static/components/tinymce/jquery.tinymce.min.js b/public/styles/tinymce/jquery.tinymce.min.js similarity index 100% rename from public/static/components/tinymce/jquery.tinymce.min.js rename to public/styles/tinymce/jquery.tinymce.min.js diff --git a/public/static/components/tinymce/langs/README.md b/public/styles/tinymce/langs/README.md similarity index 100% rename from public/static/components/tinymce/langs/README.md rename to public/styles/tinymce/langs/README.md diff --git a/public/static/components/tinymce/langs/zh_CN.js b/public/styles/tinymce/langs/zh_CN.js similarity index 100% rename from public/static/components/tinymce/langs/zh_CN.js rename to public/styles/tinymce/langs/zh_CN.js diff --git a/public/static/components/tinymce/license.txt b/public/styles/tinymce/license.txt similarity index 100% rename from public/static/components/tinymce/license.txt rename to public/styles/tinymce/license.txt diff --git a/public/static/components/tinymce/plugins/advlist/plugin.min.js b/public/styles/tinymce/plugins/advlist/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/advlist/plugin.min.js rename to public/styles/tinymce/plugins/advlist/plugin.min.js diff --git a/public/static/components/tinymce/plugins/anchor/plugin.min.js b/public/styles/tinymce/plugins/anchor/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/anchor/plugin.min.js rename to public/styles/tinymce/plugins/anchor/plugin.min.js diff --git a/public/static/components/tinymce/plugins/autolink/plugin.min.js b/public/styles/tinymce/plugins/autolink/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/autolink/plugin.min.js rename to public/styles/tinymce/plugins/autolink/plugin.min.js diff --git a/public/static/components/tinymce/plugins/autoresize/plugin.min.js b/public/styles/tinymce/plugins/autoresize/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/autoresize/plugin.min.js rename to public/styles/tinymce/plugins/autoresize/plugin.min.js diff --git a/public/static/components/tinymce/plugins/autosave/plugin.min.js b/public/styles/tinymce/plugins/autosave/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/autosave/plugin.min.js rename to public/styles/tinymce/plugins/autosave/plugin.min.js diff --git a/public/static/components/tinymce/plugins/bbcode/plugin.min.js b/public/styles/tinymce/plugins/bbcode/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/bbcode/plugin.min.js rename to public/styles/tinymce/plugins/bbcode/plugin.min.js diff --git a/public/static/components/tinymce/plugins/charmap/plugin.min.js b/public/styles/tinymce/plugins/charmap/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/charmap/plugin.min.js rename to public/styles/tinymce/plugins/charmap/plugin.min.js diff --git a/public/static/components/tinymce/plugins/code/plugin.min.js b/public/styles/tinymce/plugins/code/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/code/plugin.min.js rename to public/styles/tinymce/plugins/code/plugin.min.js diff --git a/public/static/components/tinymce/plugins/codesample/plugin.min.js b/public/styles/tinymce/plugins/codesample/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/codesample/plugin.min.js rename to public/styles/tinymce/plugins/codesample/plugin.min.js diff --git a/public/static/components/tinymce/plugins/colorpicker/plugin.min.js b/public/styles/tinymce/plugins/colorpicker/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/colorpicker/plugin.min.js rename to public/styles/tinymce/plugins/colorpicker/plugin.min.js diff --git a/public/static/components/tinymce/plugins/contextmenu/plugin.min.js b/public/styles/tinymce/plugins/contextmenu/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/contextmenu/plugin.min.js rename to public/styles/tinymce/plugins/contextmenu/plugin.min.js diff --git a/public/static/components/tinymce/plugins/directionality/plugin.min.js b/public/styles/tinymce/plugins/directionality/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/directionality/plugin.min.js rename to public/styles/tinymce/plugins/directionality/plugin.min.js diff --git a/public/static/components/tinymce/plugins/emoticons/js/emojiimages.js b/public/styles/tinymce/plugins/emoticons/js/emojiimages.js similarity index 100% rename from public/static/components/tinymce/plugins/emoticons/js/emojiimages.js rename to public/styles/tinymce/plugins/emoticons/js/emojiimages.js diff --git a/public/static/components/tinymce/plugins/emoticons/js/emojiimages.min.js b/public/styles/tinymce/plugins/emoticons/js/emojiimages.min.js similarity index 100% rename from public/static/components/tinymce/plugins/emoticons/js/emojiimages.min.js rename to public/styles/tinymce/plugins/emoticons/js/emojiimages.min.js diff --git a/public/static/components/tinymce/plugins/emoticons/js/emojis.js b/public/styles/tinymce/plugins/emoticons/js/emojis.js similarity index 100% rename from public/static/components/tinymce/plugins/emoticons/js/emojis.js rename to public/styles/tinymce/plugins/emoticons/js/emojis.js diff --git a/public/static/components/tinymce/plugins/emoticons/js/emojis.min.js b/public/styles/tinymce/plugins/emoticons/js/emojis.min.js similarity index 100% rename from public/static/components/tinymce/plugins/emoticons/js/emojis.min.js rename to public/styles/tinymce/plugins/emoticons/js/emojis.min.js diff --git a/public/static/components/tinymce/plugins/emoticons/plugin.min.js b/public/styles/tinymce/plugins/emoticons/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/emoticons/plugin.min.js rename to public/styles/tinymce/plugins/emoticons/plugin.min.js diff --git a/public/static/components/tinymce/plugins/formatpainter/plugin.min.js b/public/styles/tinymce/plugins/formatpainter/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/formatpainter/plugin.min.js rename to public/styles/tinymce/plugins/formatpainter/plugin.min.js diff --git a/public/static/components/tinymce/plugins/fullpage/plugin.min.js b/public/styles/tinymce/plugins/fullpage/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/fullpage/plugin.min.js rename to public/styles/tinymce/plugins/fullpage/plugin.min.js diff --git a/public/static/components/tinymce/plugins/fullscreen/plugin.min.js b/public/styles/tinymce/plugins/fullscreen/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/fullscreen/plugin.min.js rename to public/styles/tinymce/plugins/fullscreen/plugin.min.js diff --git a/public/static/components/tinymce/plugins/help/plugin.min.js b/public/styles/tinymce/plugins/help/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/help/plugin.min.js rename to public/styles/tinymce/plugins/help/plugin.min.js diff --git a/public/static/components/tinymce/plugins/hr/plugin.min.js b/public/styles/tinymce/plugins/hr/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/hr/plugin.min.js rename to public/styles/tinymce/plugins/hr/plugin.min.js diff --git a/public/static/components/tinymce/plugins/image/plugin.min.js b/public/styles/tinymce/plugins/image/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/image/plugin.min.js rename to public/styles/tinymce/plugins/image/plugin.min.js diff --git a/public/static/components/tinymce/plugins/imagetools/plugin.min.js b/public/styles/tinymce/plugins/imagetools/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/imagetools/plugin.min.js rename to public/styles/tinymce/plugins/imagetools/plugin.min.js diff --git a/public/static/components/tinymce/plugins/importcss/plugin.min.js b/public/styles/tinymce/plugins/importcss/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/importcss/plugin.min.js rename to public/styles/tinymce/plugins/importcss/plugin.min.js diff --git a/public/static/components/tinymce/plugins/insertdatetime/plugin.min.js b/public/styles/tinymce/plugins/insertdatetime/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/insertdatetime/plugin.min.js rename to public/styles/tinymce/plugins/insertdatetime/plugin.min.js diff --git a/public/static/components/tinymce/plugins/legacyoutput/plugin.min.js b/public/styles/tinymce/plugins/legacyoutput/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/legacyoutput/plugin.min.js rename to public/styles/tinymce/plugins/legacyoutput/plugin.min.js diff --git a/public/static/components/tinymce/plugins/link/plugin.min.js b/public/styles/tinymce/plugins/link/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/link/plugin.min.js rename to public/styles/tinymce/plugins/link/plugin.min.js diff --git a/public/static/components/tinymce/plugins/lists/plugin.min.js b/public/styles/tinymce/plugins/lists/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/lists/plugin.min.js rename to public/styles/tinymce/plugins/lists/plugin.min.js diff --git a/public/static/components/tinymce/plugins/media/plugin.min.js b/public/styles/tinymce/plugins/media/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/media/plugin.min.js rename to public/styles/tinymce/plugins/media/plugin.min.js diff --git a/public/static/components/tinymce/plugins/nonbreaking/plugin.min.js b/public/styles/tinymce/plugins/nonbreaking/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/nonbreaking/plugin.min.js rename to public/styles/tinymce/plugins/nonbreaking/plugin.min.js diff --git a/public/static/components/tinymce/plugins/noneditable/plugin.min.js b/public/styles/tinymce/plugins/noneditable/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/noneditable/plugin.min.js rename to public/styles/tinymce/plugins/noneditable/plugin.min.js diff --git a/public/static/components/tinymce/plugins/pagebreak/plugin.min.js b/public/styles/tinymce/plugins/pagebreak/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/pagebreak/plugin.min.js rename to public/styles/tinymce/plugins/pagebreak/plugin.min.js diff --git a/public/static/components/tinymce/plugins/paste/plugin.min.js b/public/styles/tinymce/plugins/paste/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/paste/plugin.min.js rename to public/styles/tinymce/plugins/paste/plugin.min.js diff --git a/public/static/components/tinymce/plugins/preview/plugin.min.js b/public/styles/tinymce/plugins/preview/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/preview/plugin.min.js rename to public/styles/tinymce/plugins/preview/plugin.min.js diff --git a/public/static/components/tinymce/plugins/print/plugin.min.js b/public/styles/tinymce/plugins/print/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/print/plugin.min.js rename to public/styles/tinymce/plugins/print/plugin.min.js diff --git a/public/static/components/tinymce/plugins/quickbars/plugin.min.js b/public/styles/tinymce/plugins/quickbars/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/quickbars/plugin.min.js rename to public/styles/tinymce/plugins/quickbars/plugin.min.js diff --git a/public/static/components/tinymce/plugins/save/plugin.min.js b/public/styles/tinymce/plugins/save/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/save/plugin.min.js rename to public/styles/tinymce/plugins/save/plugin.min.js diff --git a/public/static/components/tinymce/plugins/searchreplace/plugin.min.js b/public/styles/tinymce/plugins/searchreplace/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/searchreplace/plugin.min.js rename to public/styles/tinymce/plugins/searchreplace/plugin.min.js diff --git a/public/static/components/tinymce/plugins/spellchecker/plugin.min.js b/public/styles/tinymce/plugins/spellchecker/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/spellchecker/plugin.min.js rename to public/styles/tinymce/plugins/spellchecker/plugin.min.js diff --git a/public/static/components/tinymce/plugins/tabfocus/plugin.min.js b/public/styles/tinymce/plugins/tabfocus/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/tabfocus/plugin.min.js rename to public/styles/tinymce/plugins/tabfocus/plugin.min.js diff --git a/public/static/components/tinymce/plugins/table/plugin.min.js b/public/styles/tinymce/plugins/table/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/table/plugin.min.js rename to public/styles/tinymce/plugins/table/plugin.min.js diff --git a/public/static/components/tinymce/plugins/template/plugin.min.js b/public/styles/tinymce/plugins/template/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/template/plugin.min.js rename to public/styles/tinymce/plugins/template/plugin.min.js diff --git a/public/static/components/tinymce/plugins/textcolor/plugin.min.js b/public/styles/tinymce/plugins/textcolor/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/textcolor/plugin.min.js rename to public/styles/tinymce/plugins/textcolor/plugin.min.js diff --git a/public/static/components/tinymce/plugins/textpattern/plugin.min.js b/public/styles/tinymce/plugins/textpattern/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/textpattern/plugin.min.js rename to public/styles/tinymce/plugins/textpattern/plugin.min.js diff --git a/public/static/components/tinymce/plugins/toc/plugin.min.js b/public/styles/tinymce/plugins/toc/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/toc/plugin.min.js rename to public/styles/tinymce/plugins/toc/plugin.min.js diff --git a/public/static/components/tinymce/plugins/visualblocks/plugin.min.js b/public/styles/tinymce/plugins/visualblocks/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/visualblocks/plugin.min.js rename to public/styles/tinymce/plugins/visualblocks/plugin.min.js diff --git a/public/static/components/tinymce/plugins/visualchars/plugin.min.js b/public/styles/tinymce/plugins/visualchars/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/visualchars/plugin.min.js rename to public/styles/tinymce/plugins/visualchars/plugin.min.js diff --git a/public/static/components/tinymce/plugins/wordcount/plugin.min.js b/public/styles/tinymce/plugins/wordcount/plugin.min.js similarity index 100% rename from public/static/components/tinymce/plugins/wordcount/plugin.min.js rename to public/styles/tinymce/plugins/wordcount/plugin.min.js diff --git a/public/static/components/tinymce/skins/content/dark/content.min.css b/public/styles/tinymce/skins/content/dark/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/content/dark/content.min.css rename to public/styles/tinymce/skins/content/dark/content.min.css diff --git a/public/static/components/tinymce/skins/content/default/content.min.css b/public/styles/tinymce/skins/content/default/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/content/default/content.min.css rename to public/styles/tinymce/skins/content/default/content.min.css diff --git a/public/static/components/tinymce/skins/content/document/content.min.css b/public/styles/tinymce/skins/content/document/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/content/document/content.min.css rename to public/styles/tinymce/skins/content/document/content.min.css diff --git a/public/static/components/tinymce/skins/content/writer/content.min.css b/public/styles/tinymce/skins/content/writer/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/content/writer/content.min.css rename to public/styles/tinymce/skins/content/writer/content.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/content.inline.min.css b/public/styles/tinymce/skins/ui/oxide-dark/content.inline.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/content.inline.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/content.inline.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/content.min.css b/public/styles/tinymce/skins/ui/oxide-dark/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/content.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/content.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/content.mobile.min.css b/public/styles/tinymce/skins/ui/oxide-dark/content.mobile.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/content.mobile.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/content.mobile.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff b/public/styles/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff rename to public/styles/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/skin.min.css b/public/styles/tinymce/skins/ui/oxide-dark/skin.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/skin.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/skin.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/skin.mobile.min.css b/public/styles/tinymce/skins/ui/oxide-dark/skin.mobile.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/skin.mobile.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/skin.mobile.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css b/public/styles/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css rename to public/styles/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/content.inline.min.css b/public/styles/tinymce/skins/ui/oxide/content.inline.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/content.inline.min.css rename to public/styles/tinymce/skins/ui/oxide/content.inline.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/content.min.css b/public/styles/tinymce/skins/ui/oxide/content.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/content.min.css rename to public/styles/tinymce/skins/ui/oxide/content.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/content.mobile.min.css b/public/styles/tinymce/skins/ui/oxide/content.mobile.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/content.mobile.min.css rename to public/styles/tinymce/skins/ui/oxide/content.mobile.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff b/public/styles/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff rename to public/styles/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff diff --git a/public/static/components/tinymce/skins/ui/oxide/skin.min.css b/public/styles/tinymce/skins/ui/oxide/skin.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/skin.min.css rename to public/styles/tinymce/skins/ui/oxide/skin.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/skin.mobile.min.css b/public/styles/tinymce/skins/ui/oxide/skin.mobile.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/skin.mobile.min.css rename to public/styles/tinymce/skins/ui/oxide/skin.mobile.min.css diff --git a/public/static/components/tinymce/skins/ui/oxide/skin.shadowdom.min.css b/public/styles/tinymce/skins/ui/oxide/skin.shadowdom.min.css similarity index 100% rename from public/static/components/tinymce/skins/ui/oxide/skin.shadowdom.min.css rename to public/styles/tinymce/skins/ui/oxide/skin.shadowdom.min.css diff --git a/public/static/components/tinymce/themes/mobile/theme.min.js b/public/styles/tinymce/themes/mobile/theme.min.js similarity index 100% rename from public/static/components/tinymce/themes/mobile/theme.min.js rename to public/styles/tinymce/themes/mobile/theme.min.js diff --git a/public/static/components/tinymce/themes/silver/theme.min.js b/public/styles/tinymce/themes/silver/theme.min.js similarity index 100% rename from public/static/components/tinymce/themes/silver/theme.min.js rename to public/styles/tinymce/themes/silver/theme.min.js diff --git a/public/static/components/tinymce/tinymce.d.ts b/public/styles/tinymce/tinymce.d.ts similarity index 100% rename from public/static/components/tinymce/tinymce.d.ts rename to public/styles/tinymce/tinymce.d.ts diff --git a/public/static/components/tinymce/tinymce.min.js b/public/styles/tinymce/tinymce.min.js similarity index 100% rename from public/static/components/tinymce/tinymce.min.js rename to public/styles/tinymce/tinymce.min.js diff --git a/src/components/editor.js b/src/components/editor.js index 69f92e0..a105970 100644 --- a/src/components/editor.js +++ b/src/components/editor.js @@ -6,7 +6,7 @@ import store from '@/store' export default { //skin:'oxide-dark', language: 'zh_CN', - language_url: './static/components/tinymce/langs/zh_CN.js', + language_url: './styles/tinymce/langs/zh_CN.js', plugins: 'print preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave autoresize formatpainter paragraphspacing', toolbar: 'code undo redo restoredraft | cut copy pastetext | forecolor backcolor headings fontsize lineHeight bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify | \ styleselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \ @@ -181,7 +181,7 @@ export default { height: 650, //编辑器高度 min_height: 400, content_css: [ //可设置编辑区内容展示的css,谨慎使用 - './static/css/editor.css', + './styles/css/editor.css', ], // content_style: Style, fontsize_formats: '12px 14px 16px 18px 19px 22px 24px 36px 48px 56px 72px', diff --git a/src/components/modules/module.vue b/src/components/modules/module.vue index a98604c..21da0a6 100644 --- a/src/components/modules/module.vue +++ b/src/components/modules/module.vue @@ -6,7 +6,7 @@