Posted by Mguel on December 1, 2007 at 10:00am
Jump to:
| Project: | Whizzywig - A complete WYSIWYG Editor |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | sdecabooter |
| Status: | closed (fixed) |
Issue Summary
The php code is broken (in content using the PHP Code filter).
For example:<?php echo url("node/2") ?>">
is converted into:<?php echo url(">">
On other WYMEditor there is a patch that works around this issue:
Disable for PHP Input Formats: http://drupal.org/node/134807
Maybe something similar could be used.
Cheers,
Mguel
Comments
#1
To make myself clear, this happens even if you work with the source, and with pages made prior of installing whizzywig... if you edit the node, the php gets spoiled no matter what you do. The only solution is to disable wyizzywig for that node, but it's too time consuming. Better would be to disable by type of content (disable whizziwig for all php pages).
cheers, and merry christmas
#2
Hi,
I'll see if there's a good way to find out if an input format uses the PHP filter or not, and if so, disable the Whizzywig editor.
Can't promise when i will have time though..
Kind regards,
Sven
#3
an extension to this is it would be great to attach the wysiwyg to the input filter in real time. So you select the "wysiwyg" input filter bam you have the wysiwyg and then instead you select html, no wysiwyg... But this sounds complicated... so not sure how easy this would be to do...
#4
I was wondering: is this bug still there? Quite a few of my nodes contain php code, some of them quite complicated, and I really dread the idea of that code being 'hurt' by a moody editor. So, although I like Whyzziwig on the demo site, I'm afraid to install it unless I'm sure that it won't damage any php bits.
#5
Try Whizzywig 6.x for Drupal 6. There is a option to disable Whizzywig on centain page!
Please create NEW post if u find any bugs or want to make a feature request.
#6
It is ok to opt out the display of whizzywig for certain edit forms. But, it will be more user friendly if the editor itself can support embedding PHP code as well. Would hope it will be a feature of Whizzywig. Thanks!
#7
Subscribing
#8
@ycwjjjj: I agree. Will be fixed but my schedule tight enought. Any patches are welcome.