gbicou / directus-extension-tiptap

Tiptap rich text editor interface and display for directus
MIT License
64 stars 6 forks source link

Restrict/remove some of Starter Kit fields #103

Open ulysse-lacour opened 1 month ago

ulysse-lacour commented 1 month ago

Hi everyone, thank your for the amazingly easy to use package.

Just tryin to know how can I restrict/remove some of StartKit fields ?

In my case trying to remove horizontal line, strikethrough, code and blockquote, but more generaly how can we "overwrite" default config (apart from using other extensions from field inetrface) ?

I'm running the extension on latest version of Directus.

gbicou commented 1 month ago

Hi thanks.

Currently this packages loads the full starter kit without configuration.

I should dispatch each one of the extensions in the starter kit to allow a checkbox to disable...

ulysse-lacour commented 1 month ago

I'd gladly help you on that matter, I feel like this is a must have feature for user-friendlyness. Reusing that checkboxes feature we have already for others extensions. Can I ?

I'd gladly take any guidelines or advice you have for that matter!

gbicou commented 1 month ago

I think of multiple solutions :