Use of widgetRules in Toast UI React Editor
I’m trying to use @toast-ui/react-editor in a react-admin application. There is a specific feature that we need to use, which is the usage of inline widget nodes. I’ve tried adapting the setup described in the Toast UI Editor documentation for react component, but it seems that the toDom()
-function is never called. Instead, it will always show the given text as standard markdown links, as is expected when the inline widgets do not work. Does anyone know why toDom
is never called?