editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

[Bug] Firefox: Problems with inline tools when double clicking to select word.

Open muster-mark opened this issue 5 years ago • 4 comments

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:

muster-mark avatar Oct 30 '20 11:10 muster-mark

Due to a different implementation of double-click to select words in Firefox, compared to e.g. Chrome.

muster-mark avatar Oct 30 '20 11:10 muster-mark

Also seems to be happening in Firefox 95.0b11.

alxndr avatar Nov 30 '21 18:11 alxndr

Happening in Firefox 95.0.2 too. Any plans to fix it?

VictorPivnenko avatar Jan 03 '22 22:01 VictorPivnenko

It is still the issue with current EditorJS from the demo on the site:

Image

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:

Image

The same with Highlighter.

Artiom-M avatar Mar 23 '25 05:03 Artiom-M