Closed S1owe closed 2 months ago
And also, when using directional keys inside first editor, with of without table present, it auto focus the second editor. I played with quill event listeners to try to mitigate that, with no success.
Okay, I will fix it as soon as possible.
I managed to fix the directional keys problem:
instead of :
document.root.addEventListener('keyup', this.handleKeyup.bind(this));
do:
quill.root.addEventListener('keyup', this.handleKeyup.bind(this));
For the first problem, I think ToolbarTable methods should not be static
Thank you for the prompt solution of the problem!
The problem is as follows, if you initialize several quill text editors, the table component will only work on the last editor. This is reproduced in the sandbox, I attach a screenshot