The documentation needs to mention what # does. I know it's mentioned in the tinyMCE docs that is linked to, but it needs to be more obvious. The reason is that if you DON'T add # in front of the p tag, then paragraph breaks get broken, and that's kinda important. Wasted a lot of time trying to figure out WHAT was breaking paragraph breaks. # is useful for other things, but vitally important for paragraph breaks, which is a very basic functionality.

If you don't put # in front of the definition of the p tag in WYSIWYG filter, then tinyMCE tries to put in <p>&nbsp;</p>, but the &nbsp; gets filtered out, and the entire thing gets ignored by the browser, then paragraphs run together instead of being nicely spaced apart like the user expected.

Coz there is so many things that might have been breaking the paragraph breaks, it's a tricky thing to track down unless you get lucky and look in WYSIWYG filter first, and happen to follow the link to the tinyMCE docs, then just happen to notice the mention of # buried in the documentation of other symbols. I think it's important enough to make that particular symbols use more obvious. Coz it breaks things if it's left out.

Comments

onefang’s picture

Issue summary:View changes

Put code tag around the bit of code.

onefang’s picture

Issue summary:View changes

I should learn to use preview. lol

hfarrier’s picture

Issue summary:View changes

Thank you! This post saved me from pulling my hair out.