How to move range to the start of a `isVoid` block if the `isVoid` block is at the start of the document
See original GitHub issueDo you want to request a feature or report a bug? bug
What’s the current behavior?
Because all ranges are inside Text Nodes, suppose we have an isVoid === true
image block moved to the start of a document, then it seems impossible to move selection to the real start of the document (for example, users press leftArrow at the end of the image) insert text before the image.
Thank you Jinxuan Zhu
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Structure Void - Minecraft Wiki - Fandom
Moved structure voids behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the...
Read more >error : "cannot be an iterator block because `void' is not an ...
ok, so i've been trying to convert a javascript file to c#... believe i have it mostly done, only one error now, of...
Read more >Element.scrollIntoView() - Web APIs | MDN
Corresponds to scrollIntoViewOptions: {block: "start", ... One of start , center , end , or nearest . ... const element = document.
Read more >HTTP - Developers - Dropbox.com
This starts the OAuth 2.0 authorization flow. ... invalid_select_user Void The user specified in 'Dropbox-API-Select-User' is no longer on the team.
Read more >Scripting API: MonoBehaviour.Awake() - Unity - Manual
Use Awake to initialize variables or states before the application starts. ... void Awake() { target = GameObject. ... Log("space key was pressed");...
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
Hey @zhujinxuan — I think I’ve seen a related problem. If an isVoid block is the last node of the document or the last/deepest child of the last node, select-all doesn’t work in the editor. I tried to hack a fix to this by ensuring that my HTML serialization inserts an empty space after the last node, but it’s not a perfect fix.
My workaround was copied void image block to second line and deleted the first one. 😦