How do I stop the editor from stripping my <p> tags and "empty (& nbsp;)" divs on pages?
Since @scribu asked for a sample code here it is:
Input:
<p>text</p>
<div> </div>
Output:
text
|
How do I stop the editor from stripping my Since @scribu asked for a sample code here it is: Input:
Output:
|
|||||||||
|
|
1) Try a few different plugins that disable formatting and stop WP's built-in stripping of extra paragraphs and whitespace: http://wordpress.org/extend/plugins/search.php?q=formatting&sort= 2) You can fool WP into adding a paragraph break by using 3) You can also do this in functions.php and then wrap the text you don't want formated with
|
||||
|
|
|
I had problems with TinyMCE Advanced. I struggled with this for a while. Finally discovered a simple solution - Use Shortcodes! Place this code into functions.php and enter [br] wherever you want a br tag to appear.
|
|||
|
|
|
Add in your
But you have to add no and |
|||
|
|
|
Ik heb tiny advanced geinstalleerd. http://rubayathasan.com/wordpress/plugin/enabling-line-break-in-wordpress/ It does solve the problem, but now I need to enter a double enter to see a single one. |
|||
|
|