ProseMirror / prosemirror-tables

Table module for ProseMirror
https://prosemirror-tables.netlify.app/
MIT License
259 stars 155 forks source link

Fix Support for Chinese, Japanese, and Korean IME in Safari browser. #233

Open wallace-yang opened 3 months ago

wallace-yang commented 3 months ago

Fix the bug that occurs in Safari browser when using Chinese, Japanese, or Korean language (IME) in empty cells, causing content duplication and incorrect column addition.

It is an independent plugin just like columnResizing, so you can choose to use it or not based on your needs.

Please be aware that this plugin disables the input behavior after selecting a cell, as inputting after selecting a cell may cause an unresolved bug.

This plugin has refactored the logic for clearing cells after selection. When pressing the delete key after selecting a cell, the cursor will be positioned inside the first selected cell after the content is cleared.

wallace-yang commented 3 months ago

@ocavue I have resolve this problem,please check and merge it,thanks a lot. https://github.com/ProseMirror/prosemirror-tables/issues/221