Remove Format button no longer works when no text is selected #4008
Labels
plugin:removeformat
The plugin which probably causes the issue.
regression
This issue is a regression.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
Hello,
world!
Expected result
The text
world!
has normal style.Actual result
The text
world!
is bold and underlined.Other details
This feature used to work before - up to and including version 4.11.1. See https://jsfiddle.net/xda4omnr/2/ where the feature works.
The culprit which introduced the regression is most likely this commit: 4a29296
Note that you can still remove formatting after selecting some text, but some users use this button just to reset their styling from a particular moment on without selecting any text.
The text was updated successfully, but these errors were encountered: