Repository navigation
Tidy up and make event inputs simpler - #133
Merged
Merged
Conversation
zurfyx
approved these changes
Feb 25, 2021
zurfyx
left a comment
Member
There was a problem hiding this comment.
This makes sense to me, so instead of having the focus in event we start with a full-fledged editor that's prepared to write instead of postponing the initial nodes population
| const pluginStateRef = useRef<{ | ||
| isReadOnly: boolean, | ||
| const pluginState = useMemo(() => ({ | ||
| isReadOnly: false, |
Member
There was a problem hiding this comment.
Should we get rid of this prop? (same in the RichText file)
Collaborator
Author
There was a problem hiding this comment.
It can be used, we just don't use it.
acywatson
pushed a commit
that referenced
this pull request
Apr 9, 2022
* Tidy up and make event inputs simpler * Clean up some bits
etrepum
pushed a commit
to etrepum/lexical
that referenced
this pull request
Oct 30, 2026
…s raw beside markers ## Description A reference for a control character (U+0001 to U+001F, U+007F to U+009F) or a noncharacter reads back as U+FFFD (or `…` for `&meta#133;`) in markdown-it and HTML decoders, so the export no longer writes one for them; they stay raw as on main. `canEmphasis` reads the characters around a delimiter once for both its open and close answers, and `isPunctuationOrSpace` replaces the third hand-written character class. ## Test plan `./node_modules/.bin/vitest run --project unit packages/lexical-markdown` ### After ``` Test Files 9 passed (9) Tests 872 passed (872) ``` Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR attempts to do three things: