Skip to content

Restrict/remove some of Starter Kit fields #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ulysse-lacour opened this issue Jul 22, 2024 · 3 comments
Open

Restrict/remove some of Starter Kit fields #103

ulysse-lacour opened this issue Jul 22, 2024 · 3 comments

Comments

@ulysse-lacour
Copy link

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
Copy link
Owner

gbicou commented Jul 22, 2024

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
Copy link
Author

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
Copy link
Owner

gbicou commented Jul 24, 2024

I think of multiple solutions :

  • Using the StarterKitOptions with a value of false for extensions to disable
  • Making a custom starterkit with minimal extensions (document, paragraph, text) and for each other extensions in the original starterkit a field in the directus extension...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants