Range.hasEndAtEndOf doesn't work for inline nodes
See original GitHub issueDo you want to request a feature or report a bug?
bug
What’s the current behavior?
selection.hasEndAtEndOf
doesn’t work if you pass inline node in it.
https://jsfiddle.net/fj9dvhom/577/ http://recordit.co/XMfNjE5Lpq Windows 10, Google Chrome Version 67.0.3396.87 (Official Build) (64-bit), slate@0.34.0
What’s the expected behavior?
selection.hasEndAtEndOf
works for inline nodes
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Range.setStartAfter() in Chrome does not work correctly with ...
Does anyone have an explanation or a work around for Chrome? update: it appears inline elements are broken in chrome for this. Using...
Read more >Changelog - Slate
This is a list of changes to Slate with each new release. Until 1.0 is released, breaking changes will be added as minor...
Read more >Discussion: Inline nodes with content - Show - ProseMirror
This topic is about the question of how to deal with inline nodes with ... Marked ranges/decorations don't work for us for several...
Read more >Range.setStartAfter() in Chome does not work correctly with ...
xtechforum.com: Range.setStartAfter() in Chome does not work correctly with inline elements https://code.google.com/p/chromium/issues/detail?id=586964
Read more >Inline elements - HTML: HyperText Markup Language | MDN
Note: An inline element does not start on a new line and only takes up as much width as necessary. Inline vs. block-level...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@travigd that’s very fair, I agree with you. I think we can handle that discussion in https://github.com/ianstormtaylor/slate/issues/1914
Whoops, I forgot I opened that. Thanks!!