wasabeef / richeditor-android

RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android.
Apache License 2.0
6.24k stars 1.2k forks source link

unable to remove style #297

Open Venkatesh131 opened 1 year ago

Venkatesh131 commented 1 year ago

richTextEditor.setBold() once it's set i would like to remove it with richTextEditor.setBold(false) or something which only removes bold instead of removeFormat() which clears all style

thanhbouet commented 1 year ago

Just call .setBold() again. it will reset to normal.

superdiazzz commented 1 month ago

Just call .setBold() again. it will reset to normal.

it didn't work

gabrielmjr commented 1 month ago

Just call .setBold() again. it will reset to normal.

And what if I want to disable sub/superscript? when I call the method twice, it applies twice. For example, if I call the method to apply subscript, it applies n number of the method call.