-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moveToRangeOfNode not working after updating to 0.42.2 #2289
Comments
I can repro this with a test case:
Looks related to: #2279 |
Just to clarify, in my code, it works when just using |
If the One solution would be to change |
As of #3093 (which was just merged), I believe this issue is no longer applicable, because a lot has changed. I'm going through and closing out any potential issues that are not out of date with the overhaul. Thanks for understanding. |
Current Behaviour (0.42.2)
https://jsfiddle.net/fj9dvhom/2524/
moveToRangeOfNode
causes anode.getFirstText is not a function
errorPrevious Behaviour (0.41.2)
Previous version would work. However I used to get change from the value, and there was no wrapping function. But the below added the new node and selected it.
Not sure if it makes any difference, but the
insertblock
in my production code comes from the html-parser.The text was updated successfully, but these errors were encountered: