How can you STOP WP from cutting my Paragraphs?
-
Dear,
O boy i hate WYSIWYG editors and TinyMCE things, but for this one client i just need to fix them because they don’t understand html.
What i’m doing is simple, just add a div Style with a class to the TinyCME Style format.
This way it should-/should be easy for this client to select a few paragraphs of text and just hit Column Left from the Style format menu-bar (TinyMCE) and that would style all those paragraphs into a left column on the website, after that he should do the same > select > hit Right column en that would make text go to the rich-side of the website.
I need to make 2 columns in the content-entry div to post in.Only problem i face is that WP cuts all paragraphs and redoes the div class=”column-left”> … </div> style instead of making them <p> … </p>
This is how it looks now because WP automatically cuts and restarts the paragraphs.
<div class="column-left"> Lorem Ipsum is slechts een proeftekst uit het drukkerij- en zetterijwezen. </div> <div class="column-left"> Lorem Ipsum is de standaard proeftekst in deze bedrijfstak sinds de 16e eeuw. </div>
While it should output this code:
<div class="column-left"> <p>Lorem Ipsum is slechts een proeftekst uit het drukkerij- en zetterijwezen.</p> <p>Lorem Ipsum is de standaard proeftekst in deze bedrijfstak sinds de 16e eeuw.</p> </div>
This is very frustrated.
- The topic ‘How can you STOP WP from cutting my Paragraphs?’ is closed to new replies.