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

Highlighting & Copying Text Within Tables has Several Issues #212

Open
GeoMarkou opened this issue Oct 30, 2023 · 0 comments
Open

Highlighting & Copying Text Within Tables has Several Issues #212

GeoMarkou opened this issue Oct 30, 2023 · 0 comments

Comments

@GeoMarkou
Copy link

I was referred to this component's GitHub page after encountering some issues with the table editing plugin in a component (Kendo React Editor). I was given the recommendation of disabling the plugin until the issues are resolved, and I'm forwarding the information here to assist the plugin's development.

Triple and double clicking

  1. Navigate to https://www.telerik.com/kendo-react-ui/components/editor/
  2. Add lots of text inside a cell (e.g. lorem ipsum).
  3. Triple-click to highlight one "line" of text.
    This highlights the entire cell instead of the line.
  4. Double-click to highlight one "word" of text, then quickly right-click.
    This highlights the entire cell instead of the word.
  5. See attachment "Double Triple Click.mp4".
    https://github.com/ProseMirror/prosemirror-tables/assets/12272970/8c16a5d9-b753-4584-b213-4f9903573aec

Drag-selecting off the screen

  1. Navigate to https://www.telerik.com/kendo-react-ui/components/editor/
  2. Add lots of text inside a cell (e.g. lorem ipsum).
  3. Click+drag to select a few paragraphs of text in the middle of the component that goes off the bottom of the screen.
    The entire cell will be highlighted instead of the selection.
  4. See attachment "Drag Select.mp4".
    https://github.com/ProseMirror/prosemirror-tables/assets/12272970/15c84426-114e-4d53-a970-6884259a0bdc

MacOS only - Right click and copy gets the component stuck in "highlight mode"

  1. Ensure you are testing on a Apple Mac device, as this issue isn't replicated on Windows.
  2. Navigate to https://www.telerik.com/kendo-react-ui/components/editor/
  3. Left click to select some text, then right click to copy it.
    The component is now stuck highlighting cells, even when all buttons are released, and you need to left click again to clear it.
  4. See attachment "MacOS Rightclick Copy.mp4".
    https://github.com/ProseMirror/prosemirror-tables/assets/12272970/9dd625f9-9c31-48a3-beeb-07c53455059f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant