Getting data from nested editable with newly pasted widget inside throws an error #1469
Labels
plugin:widget
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
support:2
An issue reported by a commercially licensed client.
target:major
Any docs related issue that should be merged into a major branch.
type:bug
A bug.
Milestone
Are you reporting a feature request or a bug?
Bug
Provide detailed reproduction steps (if any)
Expected result
There is no error in the console.
Actual result
There is error thrown:
Other details
Error is thrown only if
getData
is called from insideselectionChange
callback. It does not throw inpaste
orafterPaste
events. The order of events is:paste
selectionChange
(may be multiple)afterPaste
selectionChange
in such scenario is fired in a weird moment, when pasted widget is already inside widget's content, but it's not upcasted yet.Spinoff #1468.
The text was updated successfully, but these errors were encountered: