dankito / RichTextEditor

Rich text WYSIWYG editor for Android and JavaFX
Apache License 2.0
92 stars 36 forks source link

Reset "text color" and "text background color" #62

Closed wharnisch closed 3 years ago

wharnisch commented 3 years ago

"text color" and "text background color" can be set using the two upper left tools of the toolbar. I did not find a way to reset "text color" and "text background color", so that no "text color" and no "text background color" is selected.

dankito commented 3 years ago

There's the RemoveFormatCommand.

In the toolbar you (probably) mentioned it's in the last line on the right side left to the redo command.

wharnisch commented 3 years ago

Tapping on the tool you probably mentioned (red circle) seems to be completely ignored. It definitely does not reset "text color" and "text background color" grafik

dankito commented 3 years ago

Yes you are right.

As i just figured out: you have to select some text - the one that should not be formatted - and then press the command in the red circle.

Didn't find a better workaround for this, sorry.