Styling issues with tinymce in solid-start

37 views Asked by At

I am trying to use tinymce in a solid-start project. TinyMCE is opening when I need to but it is not showing the toolbar, and is not actually letting me edit. I suspect this is a style issue. I reproduced this in a simpler codebase at: Sandbox. Just click the button "Click to edit" to see the problem.

Any idea?

Update: I was able to improve things by adding some more imports:

import 'tinymce/icons/default/icons'
import 'tinymce/themes/silver/theme'
import 'tinymce/models/dom/model'

Now the text can be edited. However, TinyMCE toolbars are still not displayed ...

1

There are 1 answers

0
Franck Dervaux On

Finally solved it by adding: import 'tinymce/skins/ui/oxide/skin.css'

Thank you to TinyMCE with Laravel 10 and vite who inspired me for the solution!