Use Nuxt Content inside online and public textarea for my users #1375
Unanswered
AxelBriche
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With mdc-api it’s possible to use Markdown with MDC syntaxe inside a textarea, I have tested and it’s ok.
The problem: users can use all components.
How can I disable some component for specific type of user (ex: non admin)?
If an user doesn’t have an admin role, how remove by example the ::my-mdc-admin-only-component inside the markdown mdc AST?
Beta Was this translation helpful? Give feedback.
All reactions