Preview screen shows 2 content editors

norislee - July 24, 2009 - 16:51
Project:OpenWYSIWYG Editor
Version:6.x-1.0-rc1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When previewing a blog, I receive 2 the same editors on content field. Any ideas?

#1

jmroth - October 8, 2009 - 21:31

I have no idea what *really* causes this, but I have the same prob on Firefox 3.5.3 (Win32)

If you edit openwysiwyg.module you have

drupal_add_js("WYSIWYG.attach('$element_id', mysettings);", inline);

Before this line add

if ($_POST['op']!='Preview')

and you're good :)

 
 

Drupal is a registered trademark of Dries Buytaert.