Normally when using a rich text editor, when you hit return (i.e. do a full paragraph return) Your text is wrapped i.e. <p> my text </p> however this does not happen in wordpress.
Is there any way to trigger this functionality?
|
Normally when using a rich text editor, when you hit return (i.e. do a full paragraph return) Your text is wrapped i.e. Is there any way to trigger this functionality? |
|||
|
|
|
This happens at the time the content is output the browser. At that point, the content is passed through several filters, one of which is called On the other hand, you can also feel free to manually compose HTML tags in your output, and WP will preserve your tags. There are some edge-cases that can get you sometimes (using non-standard tags or attributes), but for the most part, the editor and the filters are pretty smart. |
|||
|