Closed lxccc812 closed 8 months ago
Additional note: The project does not use Element Plus, so the faim download failed.
Fixed in 0.5.0-beta.20
pnpm i faim tinymce
<script setup>
import { ref } from 'vue';
import FaRichText from 'faim/dist/components/RichText/index';
import 'tinymce/skins/ui/oxide/skin.min.css'
import 'tinymce/themes/silver/theme'
import 'tinymce/icons/default/icons'
const value = ref();
{{ value }}
3. For more consummate demo see: https://github.com/cloydlau/faim/tree/main/demo
In order to facilitate users in changing the skin, theme, and icons of TinyMCE, these style resources need to be manually imported by the users. Therefore, when using the FaRichText component, it is also necessary to install TinyMCE additionally. However, FaRichText does not rely on Element, so there is no need to install Element.
Before you start, please make sure to:
Link to minimal reproduction
none
Steps to reproduce
none
What is expected?
FaRichText is introduced in vite,What dependencies do I need to download?Download faim?
What is actually happening?
none
System Info
Package Manager
pnpm
Any additional comments?
No response