Vlad Fedosov
Vlad Fedosov
For the context: we have similar issue with QuoteNode (although selection there never jumps to the root node), so maybe we shall try to fix both :) https://github.com/facebook/lexical/assets/1125900/fee500cf-9ddb-4884-806d-ce3e577dc429
Discussed with @MaxPlav that more comprehensive solution needed here that accounts for more nodes and use cases (ex: two "column layout" nodes in the middle of the document)
If no-one picks this up - I'll look at it later to add some tests. I touched klasses already in the devtools
Closed in favor of https://github.com/facebook/lexical/pull/6189 (tests added)
HI! Just wanted to double-check here... Are you sure this is a bug? Since cursor height here is of a size of the line-height that is determined by the image......
Hi! Actually subdocs are supported. Example would be the caption within the Image node (see playground code).
I think it's not that easy :P See how it fails now: https://github.com/facebook/lexical/assets/1125900/4ddc826d-3e0a-4982-bd88-9ce8e3f08880
Hi! So now links doesn't work correctly when you have a dot at the end of the sentence: https://github.com/facebook/lexical/assets/1125900/e22ece88-8305-4cfd-8894-8fbb8cc41662
Hi! I started to do some prototyping here https://github.com/StyleT/mytunnel-server/tree/feature/ws_tunnel Should be definitely possible. Hope to have it done in a month or so...
Hi! I think we lack documentation here. Feel free to add JSDoc + section to https://lexical.dev/docs/concepts/nodes about this new method