We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
copy text and paste to Editor, type any link in overflow node, infinite loop (eg.[https://x.com])
useCharacterLimit autolink infinite loop bug type a link in overflow node http://x.
Lexical version: 0.17.1
Link to code example: https://playground.lexical.dev/?isCharLimit=true
infinite loop in useCharacterLimit -> $wrapOverflowedNodes
$wrapOverflowedNodes can deal autolink node or link node
Can I fix it by modify $wrapOverflowedNodes ?
see the comment below
The text was updated successfully, but these errors were encountered:
import {$isAutoLinkNode, $isLinkNode} from '@lexical/link';
modify function $wrapOverflowedNodes
Judge by the $isAutoLinkNode and $isLinkNode to avoid infinite loop
Sorry, something went wrong.
[lexical-react] Bug Fix: useCharacterLimit AutoLink infinite loop bug f…
6d926a3
…acebook#6662
Please refer to PR #6668 for discussion
No branches or pull requests
copy text and paste to Editor, type any link in overflow node, infinite loop
(eg.[https://x.com])
Lexical version: 0.17.1
Steps To Reproduce
Link to code example:
https://playground.lexical.dev/?isCharLimit=true
The current behavior
infinite loop in useCharacterLimit -> $wrapOverflowedNodes
The expected behavior
$wrapOverflowedNodes can deal autolink node or link node
Impact of fix
Can I fix it by modify $wrapOverflowedNodes ?
see the comment below
The text was updated successfully, but these errors were encountered: