Open ugrinovsky opened 3 years ago
Description If you place the cursor after a marked word (for example, bold) and start highlighting adjacent words, the active mark will be bold.
If you show active marks in the toolbar, it will be an error.
Recording Actual: https://user-images.githubusercontent.com/8024592/119876987-292c3d80-bf31-11eb-9132-d3babb6e4ab0.mp4
Expected (Google Chrome): https://user-images.githubusercontent.com/8024592/119876975-25002000-bf31-11eb-84d1-d27c814d8928.mp4
Sandbox https://codesandbox.io/s/slate-reproductions-forked-jvih7?file=/index.js
Steps To reproduce the behavior:
Expectation Behavior like Google Chrome is expected. The array of marks must be empty.
Environment Slate Version: 0.63.0. Operating System: all. Browser: Firefox 87.0 (64-bit).
I got the same issue, when selecting bold texts and normal text, Editor.marks returns { bold: true }
Editor.marks
{ bold: true }
Description If you place the cursor after a marked word (for example, bold) and start highlighting adjacent words, the active mark will be bold.
If you show active marks in the toolbar, it will be an error.
Recording Actual: https://user-images.githubusercontent.com/8024592/119876987-292c3d80-bf31-11eb-9132-d3babb6e4ab0.mp4
Expected (Google Chrome): https://user-images.githubusercontent.com/8024592/119876975-25002000-bf31-11eb-84d1-d27c814d8928.mp4
Sandbox https://codesandbox.io/s/slate-reproductions-forked-jvih7?file=/index.js
Steps To reproduce the behavior:
Expectation Behavior like Google Chrome is expected. The array of marks must be empty.
Environment Slate Version: 0.63.0. Operating System: all. Browser: Firefox 87.0 (64-bit).