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

Clear Custom Styles using normal Clear Formatting (X) button

Open melhaer opened this issue 8 years ago • 3 comments

Hello,

When I have custom styles set, I would like to select a specific part of the text, and using the Clear Formatting button, to remove the element with the specific CSS class.

Now, when I am using Custom Classes, and set a specific style, and I want to remove it, it is almost impossible, and the only option is to remove the text completely and start from the beginning.

And I would like to know what the option - Clear Class - does (Check image attached). I was expecting to remove any picked CSS class, but it does nothing? Or Am I wrong?

clear-class

Anyway, I think it would be more clear and UX proper the classes and all formatting to be cleared using the Clear Formatting button.

Thanks for you wonderful control and dedication to it!

melhaer avatar Jul 25 '18 09:07 melhaer

Hi! This is not implemented yet!

kolkov avatar Jul 25 '18 21:07 kolkov

Try formatting default to clear styles.

kolkov avatar Jul 02 '19 19:07 kolkov

closed by https://github.com/kolkov/angular-editor/commit/bb9454ae38f125429beac546470ad248ebdbf06a

kolkov avatar Aug 02 '19 07:08 kolkov