My b2evolution Version: 1.10.x
After uploading an image in the file manager you get the code
<div class="image_block"><img src="http://domainname/media/blogs/blogname/filename.jpg" alt="" title="" width="##" height="##" /></div>
to put into your posts.
Is there a way to hard code the file manager to remove the div and to put the class tag rightmargin after img? It would look like this
<img class="rightmargin" src="http://domainname/media/blogs/blogname/filename.jpg" alt="" title="" width="##" height="##" />
I know I can just do this by hand every time I put an image into a post from the file manager. I want it to happen automatically so my users who don't know html can stop asking me how to do it.
the quick 'n dirty way would probably be to edit inc/model/files/_file.class.php ( approx 842 )
¥