You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Hashtag blocks transformation to Headings #5366
When we enter #foo, it transforms to hashtag node.
So when we enter #..# in front of text existing, it goes as following:
(| : caret) |foo #|foo ##|foo : here, it gets split into # and #foo. And #|foo is gonna be the prevSelection.anchor ## |foo : anchorOffset (3) > prevSelection.anchor.offset (1) + 1 -> callback fn returns !
changed the title [-]Bug: transform to Heading is not fired when it has text content[/-][+]Bug: Hashtag blocks transformation to Headings[/+]on Mar 17, 2024
Activity
2wheeh commentedon Dec 11, 2023
The bug is here:
When we enter
#foo, it transforms to hashtag node.So when we enter
#..#in front of text existing, it goes as following:(
|: caret)|foo#|foo##|foo: here, it gets split into#and#foo. And#|foois gonna be theprevSelection.anchor## |foo:anchorOffset(3) >prevSelection.anchor.offset(1) + 1 -> callback fn returns !so it ends up not calling
transform(L434)2wheeh commentedon Dec 12, 2023
[-]Bug: transform to Heading is not fired when it has text content[/-][+]Bug: Hashtag blocks transformation to Headings[/+][lexical-markdown] Bug Fix: count an element point's children in $get…
[lexical-markdown] Bug Fix: count an element point's children in $get…
feat(swift): port @lexical/hashtag
feat(swift): port @lexical/hashtag
feat(swift): port @lexical/hashtag (#35)