Comments (6)
I think the best behaviour would be:
ArrowDown from above the table: cursor goes to first row
ArrowDown/ArrowUp in the table: cursor moves vertically
ArrowUp from below the table: goes to first cell on last row
This is also the behaviour for tables in LibreOffice and Google documents.
I think it's weird for the navigation to change depending on whether you start below or above a table. It's very counter-intuitive.
Regardless of how the behaviour is, I do think it's important the same behaviour is applied to all browsers.
from quill-better-table.
Thanks for your report~ I really neglected this problem.
I have already added handlers for ArrowDown/ArrowUp in 1.2.7.
It should have the same behavior now.
from quill-better-table.
Behavior now:
- ArrowDown to table, the cursor will jump to the first cell in first row.
- ArrowDown/ArrowUp handles movement of cursor between table rows.
from quill-better-table.
Thanks for the good work, however, the behaviour is not quite proper yet. While the selection does not skip to last row anymore. It works in FireFox, but it does behave weirdly in Chrome.
In Chrome it tries to stick to it's default behaviour, when you're on a line below the table and press ArrowUp it will go to the last cell in the table.
Below is a gif of what's happening:
from quill-better-table.
�Actually, I made the behavior :)
I think it's good to uniform its behavior no matter in ff or chrome.
Behavior now:
ArrowDown from above to table, the cursor will jump to the first cell in first row.
ArrowDown/ArrowUp handles movement of cursor between table rows.
ArrowUp from below to table, the cursor will jump to the last cell in last row.
I will compare with some other rich-text editors, hope that find a comfortable way.
from quill-better-table.
You are right I think, I will change the behaviour:
ArrowUp from below the table: goes to first cell on last row
from quill-better-table.
Related Issues (20)
- Cannot center table with align tool.
- Hope to upgrade to Quill version 2.0.0 HOT 3
- display bug
- Is there any way to display operationMenu buttons in quill's toolbar instead of the right click pop up ?
- cannot add a ordered/unordered list to a table cell HOT 2
- Uncaught TypeError: Cannot read properties of undefined (reading 'next') HOT 1
- 如何修改单元格的width HOT 1
- Unexpected token ':' in Angular Project HOT 2
- How can I put the "merged function" into the toolbar?
- lower performance when paste a large doc which include many tables
- 怎样将table的Delta转换成html
- Modify column to specified width
- <p>` tags are adding instead of table. HOT 3
- TypeError: Cannot read properties of null (reading 'descendants')
- Cannot read properties of undefined (reading 'pop') HOT 5
- Are there plans to fix bugs, add features for this module?
- Error: [Parchment] Unable to create table blot
- Not working on quill v2.0.0-beta.0
- 作者大佬还更新吗?table 插件用不了,是不是紧跟一下 quill 的更新啊
- Operation-Menu goes outside screen size when Quill is near bottom: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quill-better-table.