Hello,
I try wysiwyg with TinyMCE 3.2.6

Editor seem to work correctly : I can select text, bold, italic... I can add photo (IMCE working correctly),
BUT as soon I check "Preview" or "Save", the Wysiwyg content is replaced by the HTML balises !

http://www.misson.net/content/essais

[color=#ff0000]essais [i][b]photos[/b][/i] :[/color] [img]/sites/misson.net/files/pictures/182-coucher-anse-mitan.jpg[/img]

I also try FCKEditor : same problem.

So, probably the problem is not the editor...
It's the Wysiwyg configuration, or a html filter, or ...
but I don't find...

Thanks
;-)

Comments

aklouie’s picture

The input format needs to be set to Full HTML and not to filtered. You might want to check that out.

pbarnett’s picture

"Oh no it doesn't! Does it, boys and girls?" :-)

I've been using TinyMCE for years, first with the TinyMCE module and latterly with Wysiwyg on both Drupal 5 and 6.

I've always used Filtered HTML.

Pete.

aklouie’s picture

Hmm, i'll check mine out again but i've never gotten TinyMCE to fully work on filtered HTML

didier misson’s picture

Hello,

In t/admin/settings/filters , I have "Full HTML" by default.

When I go in "configure Full HTML", I disable the case HTML Corrector, line convertor (In french "convertiseur de sauts de lignes"), HTML filter and URL filter.
When I try first, without disable these filter : it was the same : I can NOT keep htlm code and pictures...
:-(

Thanks,

pbarnett’s picture

This sounds like an issue with your 'Cleanup and output' options in the TinyMCE configuration...

Pete.

didier misson’s picture

Hello,

Where can I change these option ?
I disable in the Wysiwig "Full HTLM" in "Nettoyage et sortie" (Cleanup and output) all options, but nothing change...
I put Bold and color, add a photos... and as soon I click on "preview", I see this code :

essais [color=#ff0000][b]photos[/b][/color] [img]/sites/misson.net/files/pictures/182-coucher-anse-mitan.jpg[/img]

So :-( all HTML has been converted to simple text...

Thanks,

pbarnett’s picture

OK.

On my (5.x) site, I go to http://mysite.com//admin/settings/wysiwyg/profile and see a table with 'Input format', 'Editor' and 'Operations'.

If I click on 'Edit' in the 'Operations' column for filtered HTML, which is the only format I have configured to use TinyMCE, I get the TinyMCE config page.

I'm starting to wonder if your 'Full HTML' is getting filtered twice...

Try 'Filtered HTML'.

Pete.

didier misson’s picture

Hello,

In Drupal 6, on the Wysiwyg page, I have

  • Filtered HTMl "No Editor" ("aucun éditeur" in French)
  • Full HTML "TinyMCE 3.2.6"
  • I can edit the "Full HTML" line, but NOT the Filtered HTML because no editor is used for filtered html...

    Thanks

    pbarnett’s picture

    So set TinyMCE as the editor for 'Filtered HTML'...

    Pete.

    Anonymous’s picture

    Make sure you don't enable the BBCode option in the Wysiwyg options

    ranoble’s picture

    That solved my problem. You're my hero!

    BigMike’s picture

    Posted by g.idema on February 4, 2010 at 3:38am
    Make sure you don't enable the BBCode option in the Wysiwyg options

    I am running WYSIWYG 6.x-2.2 and I cannot find the "Wysiwyg options" page. Could you please clarify how to make sure the "BBCode option" is disabled?

    This is driving me crazy!! Ranoble, how did you do it? Thank you very much for your time!

    EDIT: Okay, I found it. The BBC Code is in listed with all the buttons. I didn't realize, despite it saying "Buttons and plugins" that there were infact plugins mixed with buttons. I know, my bad, it's been a loooong day :) Glad I figured it out! Thanks, Mike

    Matroschker’s picture

    that helps!

    Thanks

    jpasch’s picture

    we have the same problem here trying to insert html for linked widgets- the html code is being displayed as text. bbcode is disabled, using full html but also tried filtered. using drupal 6.16 and tinymce 3.3.2. here's the html-

    View shoutbox

    ShoutMix chat widget

    ideas appreciated, and thanks,

    jay

    himynameisseb’s picture

    A bit late but,

    If anyone else comes accross this issue, one that always catches me out is that Drupal parses out certain html tags. Even if you set your wysiwyg options to input certain tags! Allowed tags can be updated in input formats:

    /admin/settings/filters
    Select a type (eg. filtered html)
    select configure
    add allowed tags into the 'allowed html tags' input box