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
When trying to do cntl+A, cntl+c and cntl+v in proseMirror editor. It is showing error- Cannot read properties of null (reading 'nodeType').
This is happening when I have header content which is non-editable and main content which is editable. When I try to do cntl+A, cntl+c and cntl+v. It is selecting only main content which is expected but throwing above error.
The issue is coming from prosemirror-model/dist/index.js file where inside renderSpec function where in line no 3393
if (structure.nodeType != null)
return { dom: structure };
here structure is coming as null.
Browser Used
Chrome
Expected Behavior
When we do cntl+A, cntl+c and cntl+v, all selected text should be copied and pasted in editor instead of throwing error.
The text was updated successfully, but these errors were encountered:
Bug Description
When trying to do cntl+A, cntl+c and cntl+v in proseMirror editor. It is showing error- Cannot read properties of null (reading 'nodeType').
This is happening when I have header content which is non-editable and main content which is editable. When I try to do cntl+A, cntl+c and cntl+v. It is selecting only main content which is expected but throwing above error.
The issue is coming from prosemirror-model/dist/index.js file where inside renderSpec function where in line no 3393
if (structure.nodeType != null)
return { dom: structure };
here structure is coming as null.
Browser Used
Chrome
Expected Behavior
When we do cntl+A, cntl+c and cntl+v, all selected text should be copied and pasted in editor instead of throwing error.
The text was updated successfully, but these errors were encountered: