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]: Table update exception when Chinese input method is used in safari #5584

Open
1 task done
DoubleHeer opened this issue Sep 3, 2024 · 2 comments
Open
1 task done
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

@DoubleHeer
Copy link

Affected Packages

Doc demo

Version(s)

2.6.6

Bug Description

iShot_2024-09-03_14.17.05.mp4

When I used the official demo to test the table function, I found that using the Chinese input method to enter text in safari would cause the table to increase, and the input content was abnormal。

Browser Used

Safari

Code Example URL

https://tiptap.dev/docs/editor/extensions/nodes/table

Expected Behavior

I expect that the input content in Chinese input method can be displayed normally

Additional Context (Optional)

image Rows are automatically inserted

Dependency Updates

  • Yes, I've updated all my dependencies.
@DoubleHeer DoubleHeer 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 Sep 3, 2024
@GreedyWhale
Copy link

I have the same problem but not using the example here, is it possible to get the code for this example? I would like to refer to it.

@GreedyWhale
Copy link

I have the same problem but not using the example here, is it possible to get the code for this example? I would like to refer to it.

After my test, ios 14, 18 will not have this problem, and as long as the table is inserted without using the header will not have this problem, for example

editor.chain().focus().insertTable({ rows: 4, cols: 4, withHeaderRow: false }).run()

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

3 participants
@DoubleHeer @GreedyWhale and others