When using an inline tool the editor worked not correct when the inline tag is removed completely (e.g. using backspace) and then you type again.
I created my own version of the mark-inline-tool which adds some data attributes to the mark-tag. When I remove the highlighted tag and re-type again, it inserts a tag with some styling.
The bold and italic tool is working but I guess that is only the case as it is not adding some classes or other attributes to the inserted tag. The official mark inline tool has this bug also.
Steps to reproduce:
use an inline tool to mark some text
delete all marked characters with backspace
start to type new characters
Expected behavior:
One of these:
after deleting all inline marked characters and typing new characters
the new characters are not marked by the used inline tool
the new characters are marked exactly as the removed ones. With the same tag with the same attributes
When using an inline tool the editor worked not correct when the inline tag is removed completely (e.g. using backspace) and then you type again.
I created my own version of the mark-inline-tool which adds some data attributes to the mark-tag. When I remove the highlighted tag and re-type again, it inserts a tag with some styling.
The bold and italic tool is working but I guess that is only the case as it is not adding some classes or other attributes to the inserted tag. The official mark inline tool has this bug also.
Steps to reproduce:
Expected behavior:
One of these:
after deleting all inline marked characters and typing new characters
Screenshots:
Device, Browser, OS: Chrome (Chromium: 90.0.4430.212), Ubuntu 04.2021
Editor.js version: "@editorjs/editorjs": "^2.22.2",
Plugins you use with their versions: own version of inline tool