-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
Pasting in block results in pasting the content twice in Firefox #10634
Labels
dependency-issue
The issue is in a dependency of payload - not payload itself
plugin: richtext-lexical
@payloadcms/richtext-lexical
Comments
This is a Lexical issue. I've opened a PR on their repository that fixes it: |
🚀 This is included in version v3.19.0 |
This issue has been automatically locked. |
kendelljoseph
pushed a commit
that referenced
this issue
Feb 21, 2025
…ntralize selection and deletion logic (#10735) - Blocks can now be selected (only inline blocks were possible before). - Any DecoratorNode that users create will have the necessary logic out of the box so that they are selected with a click and deleted with backspace/delete. - By having the code for selecting and deleting centralized, a lot of repetitive code was eliminated - More performant code due to the use of event delegation. There is only one listener, previously there was one for each decoratorNode. - Heuristics to exclude scenarios where you don't want to select the node: if it is inside the DecoratorNode, but is also inside a button, input, textarea, contentEditable, .react-select, .code-editor or .no-select-decorator. That last one was added as a means of opt-out. - Fix #10634 Note: arrow navigation will be introduced in a later PR. https://github.com/user-attachments/assets/92f91cad-4f70-4f72-a36f-c68afbe33c0d
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
dependency-issue
The issue is in a dependency of payload - not payload itself
plugin: richtext-lexical
@payloadcms/richtext-lexical
Describe the Bug.
When pasting text from the clipboard to a custom block into the lexical editor the text is pasted twice. I only experienced that in Firefox.
pasting_ff.mov
Reproduction Steps
Environment Info
The text was updated successfully, but these errors were encountered: