F
Filamentthis hour
frame

Disable RichEditor images

Is it possible to disable images in a RichEditor so if the user tries to drag-and-drop or copy paste content with images the editor would not add the images to the editor content?
3 Replies
toeknee
toeknee23h ago
I don't think so fully, you might need to remove them on save. You can remove the actions from the toolbar and bubble menu which I assume you have?
frame
frameOP22h ago
Thanks, and probably no easy way to define what extensions I want to enable? https://tiptap.dev/docs/editor/getting-started/configure#add-your-configuration RichEditor plugins can add new extensions but probably not remove the built-in ones?
Configuration | Tiptap Editor Docs
Configure your Tiptap Editor's elements, extensions, and content settings. Learn more in our documentation!

Did you find this page helpful?