Closed (duplicate)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2007 at 15:45 UTC
Updated:
1 Feb 2007 at 16:01 UTC
I use the FCKeditor as a popup (so I can use plain old HTML if I want to). I have a button 'Open rich editor' behind my body field. But when click it it does'nt work. I figgured out that the 'onclick' action is'nt there. It is stripped out. I recently updated from 5.0 to 5.1.
I tried the following (just to test my theory). Don't use the 'onclick', but use href="javascript:...". The result was that 'javascript:' was stripped and ' was replace with '
Does anyone else have this problems also? I guess the new 5.1 version does this.
Comments
Comment #1
xl-network commentedI think I know what's wrong. In the file includes/form.inc@1261 there's a added check_plain() in comparisson to 5.0. This wil remove unwanted strings (I guess).
Comment #2
ontwerpwerk commentedsince jonathan was first ( http://drupal.org/node/115004 ) i'll mark this one duplicate
Comment #3
jonathanchris commentedyes I actually just posted this issue right before you at http://drupal.org/node/115004