-
Is there a way in SvelteKit to disable some options of the editor? Let's suppose I don't want the option to upload images or to italicize the text, for example? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @pablom89 , You can specify which options to include in the toolbar. See a sample toolbar code here . You can add/remove buttons from the toolbar. For instance, if you want to have image support, you can remove the option from the toolbar. But images will still be supported (for instance, one can paste an image into the editor). To remove image support altogether, you can remove the |
Beta Was this translation helpful? Give feedback.
Hi @pablom89 ,
You can specify which options to include in the toolbar. See a sample toolbar code here . You can add/remove buttons from the toolbar. For instance, if you want to have image support, you can remove the option from the toolbar. But images will still be supported (for instance, one can paste an image into the editor). To remove image support altogether, you can remove the
ImagePlugin
andImageNode
from the editor (see sample editor definition here)