Anyone ever implemented or have ideas regarding clearing styles for an element in the built-in style dropdown?
In this case, I have created floats left, right, and text-align center for images. If a float left is added, and the user wants to change it, float right is added, and text-align center can end in the class as well. The brower sets it right, and there it stays. My users are not HTML savy, so only solution I can think of, is to have them delete the image and set it in again. Not elegant, we can agree.
Any ideas how to allow a user to "clear all style from an element in the rich text editor?
There is a button you can enable called "Remove Formatting" that should do the trick. Just edit the Richtext editor Datatype in the Developer -> Data Types section and enable the button (2nd one down).
Clear/reset styles in Rich text editor
Hi all,
Anyone ever implemented or have ideas regarding clearing styles for an element in the built-in style dropdown?
In this case, I have created floats left, right, and text-align center for images. If a float left is added, and the user wants to change it, float right is added, and text-align center can end in the class as well. The brower sets it right, and there it stays. My users are not HTML savy, so only solution I can think of, is to have them delete the image and set it in again. Not elegant, we can agree.
Any ideas how to allow a user to "clear all style from an element in the rich text editor?
bump! I have same problem. It seems like I cannot clear class attribute
Hi,
There is a button you can enable called "Remove Formatting" that should do the trick. Just edit the Richtext editor Datatype in the Developer -> Data Types section and enable the button (2nd one down).
-Tom
Oh, indeed there is... Were you just on my localhost putting this icon there because it was not there before! :D
Old post, I know. Received a mail today, reminding me to backtrack and mark solutions.Thanks Tom.
Hey Tom. This is an ancient post, I realize. Just noticed I never acknowledged your post as a solution. Thanks again ;-)
is working on a reply...