You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Is there a way to define custom blocks which are easily reusable through the editor? Something like a NoticeAlert component that will have a yellow background, a ErrorAlert component that will have a red background and so on.
I'm using react-markdown-preview to client side rendering the result.
Thanks
The text was updated successfully, but these errors were encountered:
@christianpredebon Hi, I am not aware of any way the editor can achieve this by default.
Let me know if you know any editor that has this feature I can have a reference to.
For the custom block, do you mean the react-markdown-preview would automatically render a certain type of markdown into a React component?
What would be the markdown for NoticeAlert?
Would help if you could share more on your use case, cause it doesn't sound like a common use case.
Hi!
Is there a way to define custom blocks which are easily reusable through the editor? Something like a
NoticeAlert
component that will have a yellow background, aErrorAlert
component that will have a red background and so on.I'm using
react-markdown-preview
to client side rendering the result.Thanks
The text was updated successfully, but these errors were encountered: