Open sagar-gavhane opened 4 years ago
Need more information, is it repeated in play https://xdsoft.net/jodit/play.html ?
it's not repeated on xdsoft.net/jodit/play.html.
Also have this issue, only trace I could get was in the minified code
Cannot read property 'set' of undefined:
_TEXT:e=s.htmlspecialchars(e)}"string"==typeof e&&t.buffer.set(d.pluginKey,e),t.selection.insertHTML(e)},u=function(e,a){var l=t.buffer.get
Potentially could be a browser specific issue, super hard to replicate unfortunately :(
The way I see things that above issue occurring due to I'm dynamically importing and rendering jodit-react component on the server-side and while rendering jodit-react component doesn't have access to window or document object.
I want to understand for library maintainer that did we tried to render the jodit-react component on the server-side? Do we've any example or test suite for SSR?
I have this error when I call the two-sided component different from my application
@CarlosOrozc did you find a solution? I am struggling with the same at this point, when I'm using jodit in a modal.
I have the same issue. I am dynamically importing the editor in Next.Js
Jodit Version:
Browser:
Chrome Version 83.0.4103.61 (Official Build) (64-bit)
OS: Mac
Code
Expected behavior:
When I trying to copy-paste text from somewhere else it's throwing me
Uncaught TypeError: Cannot read property 'set' of undefined
error. I don't why I'm getting this issue. Maybe currently, jodit not support SSR.Actual behavior:
It should just copy-paste the text.
Error Stack: