I´m using the rich editor (tinymce) to create posts,
But I don´t like the way it´s putting images in my posts.
The HTML for images that it puts out now is:
align=”left” and align=”right”
But I want it to use / put out:
class=”alignleft” and class=”alignright”
Why? Because now the images are to close to the text and I want it to have at least some PX of space between an image and the text.
The only thing that I can do to fix this is changing my posts HTML everytime by hand, but I just want it to put out the richt code.
I tried to change/hack the wp-includes/js/tinymce/tiny_mce.js but it´s to big, so I better don´t even start changing it because I´m not an expert in that.
Example post of image way to close to the text (wrong richeditor output): http://www.macamba.nl/2006/09/nueva-esparta-respecteert-prive-bezittingen/nl/
Example post after editing HTML (output as I want it to make)
- The topic ‘Rich Editor problem (images)’ is closed to new replies.