Active
Project:
widgEditor - A WYSIWYG editor
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 16:17 UTC
Updated:
23 Feb 2009 at 17:34 UTC
In my site y need to insert images without absolute url, so I use the PHP code "base_path()" like in this example:
<img src="<?= bas_path()?>images/picture.jpg" alt="Some Picture" />
So I use the editor in code view to write this code. But when I save the node the PHP is always removed by widgEdit, even if Drupal 6 input format is set to allow PHP.
I can see 2 possibles solutions:
1. Make widgEdit leave alone the PHP code when the Drupal 6 input format is set on PHP code.
2. Or, add a link to quick disable the rich text editor (like the one you see to enable the editor, when you setup the module to not be active by default).
Y suppose the option 2 it can be implemented relatively easy.
Thank!
Comments
Comment #1
Gurpartap Singh commentedOption 2 is already available. See the last HTML code button.
Does it not work for you?