Wysiwyg-editor: Unable to disable bold when no text is highlighted

Created on 19 Aug 2019  路  3Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

Pressing bold should toggle bold text, regardless if text is selected or not.

Actual behavior.

When bold is enabled and no text is selected, bold can't be disabled by pressing it again.

Steps to reproduce the problem.

1) Write some bold text.
2) Put the cursor inside the text, or after the text.
3) Try to disable bold by pressing the button. If the cursor is inside the text, nothing happens. If the cursor if after the text, it looks like bold is disabled, but it's not (writing text automatically enables bold again).

Editor version.

Website demo version.

OS.

macOS

Browser.

Chrome 76

bug version 3

Most helpful comment

We can't upgrade to v3.0.5 because of this bug.

All 3 comments

We can't upgrade to v3.0.5 because of this bug.

@cauethenorio so 3.0.6 is already out a few days ago but we've increased priority for this issue and it should be delivered in 3.0.7

Is this fixed now?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adilsonb picture adilsonb  路  3Comments

george-norris-salesforce picture george-norris-salesforce  路  4Comments

bnjmnfnk picture bnjmnfnk  路  4Comments

CrazyClicker picture CrazyClicker  路  4Comments

rogersteblerbsi picture rogersteblerbsi  路  3Comments