wysiwyg-editor icon indicating copy to clipboard operation
wysiwyg-editor copied to clipboard

Triple click content bug.

Open jithinrajpr opened this issue 4 years ago • 2 comments

This issue came to our notice as a result another bug which was not fixed yet.

Expected behavior.

When we Triple click content in the editor there will be a selection on the content after that when we change the font size, family or other style attributes it should only affect the selected content.

Actual behavior.

When we Triple click content in the editor there will be a selection on the content after that when we change the font size, family or other style attributes the content's beneath the content we selected also changes its style.

Steps to reproduce the problem.

Triple click content in the fiddle and change it's font size etc the paragraph beneath will also be affected, a jsFiddle for you to check.

Editor version.

froala_editor v3.1.1

OS.

MacOS Mojave 10.14.6, Windows

Browser.

Chrome Version 80.0.3987.163

Recording.

(https://drive.google.com/file/d/1SFIqUbD1cD8wzwyRibHY9Y5tPpftavUR/view)

jithinrajpr avatar Apr 27 '20 11:04 jithinrajpr

We're facing this as well, esp. when bulleted lists are involved.

Still reproducible on v4.

Reproducible in Chrome and Safari (not reproducible in Firefox).

Additionally, on Chrome, this bug can even cause formatting to bleed onto elements outside the editor. This makes the bug very disruptive, especially since affected elements outside the editor can't be reverted.

More info in this fiddle: https://jsfiddle.net/jcvkd8oz/

Aside from triple-clicking, this can generally happen whenever a user selects a full line and the mouse cursor ends at start of the next line (without highlighting an additional character).

kcgidw avatar Jan 13 '22 23:01 kcgidw

Having the same issue on our side with the latest version (4.1.4)

julien-mamalian avatar Jan 15 '24 16:01 julien-mamalian