Hi,
I tried different approaches to get this working in RTL but it doesn't seem to work.
Looks like the Editor is never mounted when in testing.
Right now I'm calling the editorRef?.current?.editor.html.insert function from a custom button (editorRef is the useRef for the Editor Component), but I always get this error 👇
TypeError: Cannot read property 'split' of undefined
Is this project ready to work on RTL? If so, do you have any examples to show me the proper direction?
Thanks in advance!
Hi, I tried different approaches to get this working in RTL but it doesn't seem to work. Looks like the Editor is never mounted when in testing. Right now I'm calling the
editorRef?.current?.editor.html.insert
function from a custom button (editorRef is the useRef for the Editor Component), but I always get this error 👇TypeError: Cannot read property 'split' of undefined
Is this project ready to work on RTL? If so, do you have any examples to show me the proper direction? Thanks in advance!