refactor: TinyMCE组件重构 移除冗余代码/功能 增加loading
This commit is contained in:
@@ -15,10 +15,10 @@ const content = ref('');
|
||||
<Page title="Tinymce富文本">
|
||||
<div class="flex flex-col gap-[16px]">
|
||||
<div class="flex items-center gap-[16px]">
|
||||
<span>只读</span>
|
||||
<span>禁用</span>
|
||||
<Switch v-model:checked="readonly" />
|
||||
</div>
|
||||
<Tinymce v-model="content" :height="800" :options="{ readonly }" />
|
||||
<Tinymce v-model="content" :height="800" :disabled="readonly" />
|
||||
</div>
|
||||
</Page>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user