editor.js
editor.js copied to clipboard
[Bug] Firefox: Problems with inline tools when double clicking to select word.
Describe a bug.
Steps to reproduce: In Firefox, add a link to a word using the link inline tool. Then double click to select the word. Rather than recognizing that the word has a link on it, the link icon is inactive and clicking on it allows adding another link.
Expected behavior: After double clicking to select a link, the link icon should be active and clicking on it should remove the link, as it would by selectin the word manually by clicking and dragging.
Screenshots:
Device, Browser, OS: MacOS 10.15.7, FireFox 81
Editor.js version: 2.19.0
Plugins you use with their versions:
Due to a different implementation of double-click to select words in Firefox, compared to e.g. Chrome.
Also seems to be happening in Firefox 95.0b11.
Happening in Firefox 95.0.2 too. Any plans to fix it?
It is still the issue with current EditorJS from the demo on the site:
It works well with B or I button, but code button for example looks like this after reselecting with double click. I can apply the "Code" styling again and again until it looks like this:
The same with Highlighter.