Skip to content
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

[Bug]: Some key commands from the docs not working #5291

Open
1 task done
seabasss opened this issue Jun 28, 2024 · 0 comments
Open
1 task done

[Bug]: Some key commands from the docs not working #5291

seabasss opened this issue Jun 28, 2024 · 0 comments
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@seabasss
Copy link

Affected Packages

core

Version(s)

2.3.0

Bug Description

The CMD+Shift+V command, which is supposed to paste content without formatting according to the Tiptap documentation, does not work in Safari. However, this command functions correctly in other browsers such as Chrome and Firefox.

Additionally, none of the key commands for text alignment (CMD+SHIFT+L, CMD+SHIFT+E, CMD+SHIFT+R, and CMD+SHIFT+J) work in any browser.

Browser Used

Safari

Code Example URL

No response

Expected Behavior

CMD+Shift+V should paste the text without its original formatting in Safari. Nothing happens. It works if you add the Option key to the mix.
CMD+SHIFT+L should align text to the left.
CMD+SHIFT+E should center the text.
CMD+SHIFT+R should align text to the right.
CMD+SHIFT+J should justify the text.

Additional Context (Optional)

Steps to Reproduce:

Open Safari and navigate to the Tiptap Try it live editor.
Copy some formatted text (e.g., from a webpage or a document).
Attempt to paste the text without formatting using CMD+Shift+V.
Observe that the text is pasted with its original formatting.

Attempt to use the key commands for text alignment (CMD+SHIFT+L, CMD+SHIFT+E, CMD+SHIFT+R, CMD+SHIFT+J) in any browser (Safari, Chrome, Firefox).
Observe that the text alignment does not change and standard browser features take effect.

Dependency Updates

  • Yes, I've updated all my dependencies.
@seabasss seabasss added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

1 participant