I'm using Revolution 2.2.0-pl2 (traditional)
Hey guys I'm also using tinymce in my site manager and was getting frustrated that when I would return to a resource to edit the content in the tinymce editor would appear with extra spacing between elements. It seemed to be adding "<p> </p>" that I hadn't asked it to. Here is my solution which is sort of a mashup of some of the previous posts. In 'System Settings' from the filter dropdown choose 'tinymce', then find the settings below and change them as indicated
'Convert Newlines to BRs' ==> NO
'Forced Root Block' ==> LEAVE EMPTY
'Invalid Elements' ==> br
'Remove Linebreaks' ==> YES
'Remove Redundant BRs' ==> YES
Now with that done the tinymce editor will no longer add extra "<p> </p>" after you save and return to edit your resource later. It will also be prevented from adding
which was being added automatically in my editor for newlines. It will only add "<p> </p>" when you skip a line by hitting return and only then, this is what I was looking for. Now when you check the code view there are no extra tags.
One more thing. Each item in the editor is automatically wrapped in <p> tag. <p> tags automatically get margin spacing on top and bottom by default so in order that our user doesn't see a large space between lines that looks larger than normal line spacing we need to find the css file associated with the tinymce editor and add the following css
p {margin:0; padding:0;}
My css file was at
http://mysite.com/assets/components/tinymce/jscripts/tiny_mce/themes/advanced/skins/cirkuit/content.css
If you want the top and bottom margin provided on <p> tags by default then you will not want to add this css. I've added this because now my site editors will see the same things on the output page as they do in the editor and not have any undesired extras added during editing or upon returning to a resource to edit. Hope this helps.