Description
Describe a bug. When you use styles (reproduced on underline and strikethrough) from inline toolbar for one text block, then press Shift+Enter (soft line break) or continue typing, then try to type something, it will contain old styles (which is probably fine behavior), but when you choose this part of text and try to disable new styles, it will disable it for all the text block, not only for choosen text. When you use "bold" or "italic" styles it works as expected, but with strikethrough and underline I got problems.
Steps to reproduce:
- Go to editorjs text block
- Type any text, for example: "This is my text"
- Choose everything and cover with underline or strikethrough
- choose "text" and try to disable strikethrough or underline
Expected behavior:
Choosen part became not underlined, while other contains it styles.
Video with this bug below:
1.online-video-cutter.com.15.mp4
1.online-video-cutter.com.16.mp4
PC, Windows, Chrome 137.0.7151.56.
Editor.js version: 2.30.8
Plugins you use with their versions:
@editorjs/paragraph@^2.11.7
@editorjs/underline@^1.2.1
@sotaproject/strikethrough@^1.0.1