I use drupal 6.14 with FCKEditor (with WYSIWYG). But I can't insert any HTML or JavaScript no mater which input format I use. Very frustrating thing for me, supposedly should drupal accept HTML code when using Full HTML input method, but it doesn't. HTML filter is not enabled. Also, any code formated with FCKEditor is lost after I save the node (Full HTML used).

This is what I want to have as a result:

I have created a block, inserted this code

<!-- Facebook Badge START --><span style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; line-height: 16px; font-variant: normal; font-style: normal; font-weight: normal; color: #555555; text-decoration: none;">&nbsp;|&nbsp;</span><a href="http://www.facebook.com/business/dashboard/" title="Make your own badge!" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;">Propagirajte svoju stranicu</a><br/><a href="http://www.facebook.com/pages/d41d8cd9/" target="_TOP"><img src="http://badge.facebook.com/badge/0.0.537117045.png" width="175" height="50" style="border: 0px;" /></a><!-- Facebook Badge END -->

but all I get as a result is plain text! What am I missing here?

Maybe the cause: Input method is restricted to webmaster acc type and I'm logged in as user 1 (full admin rights) ... do I have to be logged in as webmaster or selecting user type does not affect user 1?

Comments

WorldFallz’s picture

When using a wysiwyg editor you usually need to put the editor into 'source' mode to enter html-- entering html into the wysiwyg mode entirely defeats the purpose of using a wysiwyg editor in the first place. If you want, with wysiwyg you can setup one html input format that loads the editor and one that doesn't or just doen't enable it by default so you still can go back and forth.