By shawnw on
I've got TinyMCE up and working, but if I preview or submit a blog post, it's like none of the HTML is being inserted. Example:
In the editor, I can type (and it'll look like this):
this is a test
this is a test
However, if I preview or submit, I see this:
this is a testthis is a test
I've tried the CSS for the style I'm using and the TinyMCE default CSS, and both output this way. I'm lost. Can someone help?
Comments
Input format
Please have a look at the input format settings under the textarea. For TinyMCE this should be "rich text editing".
It's actually Filtered HTML.
It's actually Filtered HTML. Thing is, without TinyMCE installed, line breaks work, but if I open, say, a cite tag, and then close it, it never closes. All text after the opening cite tag is cited, even when I put in a closing cite tag. But that's another issue.
Line breaks
In "Filtered HTML" line break characters are converted to HTML line breaks but HTML line breaks are filtered out of your text as those tags are not allowed by "Filtered HTML".
TinyMCE creates HTML content, from which the line break HTML tags are removed by the "Filtered HTML" Input Type.
Are those or ? Also, if I
Are those
<br> or <br />? Also, if I turn on full HTML, aren't I setting myself up for some security issues? Thanks for your help so far, it's greatly appreciated.I use tinyMCE with filtered
I use tinyMCE with filtered html as follows...
these filters:
* HTML Corrector
* HTML-filter
* Paging
* URL filter
* Outgoing links filter
* Word filter
* Smileys filter
* Quote filter
* Hide email addresses
now most important in the configuration I have these allowed tags:
<p> <strong> <em> <u> <strike> <ul> <li> <div> <ol> <blockquote> <font> <span> <a> <img> <table> <tbody> <tr> <td> <cite> <code> <dl> <dt> <dd> <quote> <br> <sub> <sup> <h1> <h2> <h3> <h4>
I came to this list by making one node while enabling full HTML and in the text I used each and every single button on the TinyMCE
Then I looked at the HTML source and grabbed every tag that is used...