VIsual Editor change “align left” to “class left”?
I would like to have a bit more control over the Visual Editor, if it is possible. Basically, when people press the buttons to align text left or right or center, I would like it to give a class to the element, instead of the align=”left” or align=”right” property.
This would basically give me more control with elements such as images, so you could add padding on the right when they are aligned left and vice-versa.
So, if someone clicks the text-align left button, I would like it to give a class of left (class=”left”), then I could asign whatever I want to that class.
Is that possible?
- The topic ‘VIsual Editor change “align left” to “class left”?’ is closed to new replies.