+
+
+
+ {{ $t('ui.upload.imgUpload') }}
+
+
+
+
+
+
diff --git a/apps/web-ele/src/components/tinymce/index.ts b/apps/web-ele/src/components/tinymce/index.ts
new file mode 100644
index 00000000..c277d781
--- /dev/null
+++ b/apps/web-ele/src/components/tinymce/index.ts
@@ -0,0 +1 @@
+export { default as Tinymce } from './editor.vue';
diff --git a/apps/web-ele/src/components/tinymce/tinymce.ts b/apps/web-ele/src/components/tinymce/tinymce.ts
new file mode 100644
index 00000000..45a867b6
--- /dev/null
+++ b/apps/web-ele/src/components/tinymce/tinymce.ts
@@ -0,0 +1,17 @@
+// Any plugins you want to setting has to be imported
+// Detail plugins list see https://www.tiny.cloud/docs/plugins/
+// Custom builds see https://www.tiny.cloud/download/custom-builds/
+// colorpicker/contextmenu/textcolor plugin is now built in to the core editor, please remove it from your editor configuration
+
+export const plugins =
+ 'preview importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help emoticons accordion';
+
+// 和 vben2.0 不同,从 https://www.tiny.cloud/ 拷贝 Vue 部分,然后去掉 importword exportword exportpdf | math 部分,并额外增加最后一行(来自 vben2.0 差异的部分)
+export const toolbar =
+ 'undo redo | accordion accordionremove | \\\n' +
+ ' blocks fontfamily fontsize | bold italic underline strikethrough | \\\n' +
+ ' align numlist bullist | link image | table media | \\\n' +
+ ' lineheight outdent indent | forecolor backcolor removeformat | \\\n' +
+ ' charmap emoticons | code fullscreen preview | save print | \\\n' +
+ ' pagebreak anchor codesample | ltr rtl | \\\n' +
+ ' hr searchreplace alignleft aligncenter alignright blockquote subscript superscript';