html blobs get truncated or simplified.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Akrabat

html blobs get truncated or simplified.

Post by Akrabat »

wishy wrote:I'm striking out on this one, but I'm starting to agree with the TinyMCE philosophy...

If you have specific needs about what code is output (particularly table), why are you using a WYSIWYG? I dunno. I'm just frustrated because there is no WYSIWYG that will make everyone happy.
Related to this, it would be handy if you could specify "no wysiwyg" for a specfic content page, so you can use wysiwyg for most pages, but not for the "special" pages.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

html blobs get truncated or simplified.

Post by Greg »

This seems to be related to table cells only as TinyMCE does not strip out inline style such as

Code: Select all

<p style="font-weight: bold; color: blue">hello</p>
Thought maybe it had something to do with XHTML compliance so took the doctype out of a template and tried a style in the table cell, still stripped it out.

It doesn't strip out an inline style applied to the table row

Code: Select all

<table height="24" width="13"><tbody>
<tr style="font-weight: bold; color: blue">
<td>hello</td>
</tr>
</tbody></table>
works fine!
Greg
Glenn

YES! YES!

Post by Glenn »

Okay, I am really excited...but that doesn't necessarily solve the problem for everyone else.

I had the problem with not being able to use stylesheets in html blob and news modules (kept getting stripped out).

Greg wrote:
I added line 66 to tinymce/modulefunctions.php:
Code:
content_css : "tiny.css",

and placed tiny.css in the admin folder. The css in tiny.css is then used in the styles dropdown.

The CSS in this file must be a subset of the CSS associated with the template of the page you are editing.


THIS WORKED!! Of course it won't work if you use different stylesheets for different templates, but my sites alwyas use the same css for every template. OH GLORIOUS DAY! Thank you!
Post Reply

Return to “CMSMS Core”