chore: 重构 tinymce 组件

This commit is contained in:
xlsea
2025-05-13 21:59:11 +08:00
parent 3c90c3ccfe
commit 7dc8ba6e41
135 changed files with 104 additions and 25181 deletions

1
packages/tinymce/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
# !dist

View File

@ -201,11 +201,12 @@ const events = computed(() => {
</script>
<template>
<div class="app-tinymce">
<NSpin :show="loading">
<div class="app-tinymce w-full">
<NSpin :show="loading" class="min-h-400px w-full">
<Editor
v-if="init"
v-model="content"
class="h-full w-full"
:init="initOptions"
:tinymce-script-src="tinymceScriptSrc"
:disabled="disabled"