init wmode should = TRANSPARENT

Veggieryan - November 4, 2006 - 05:02
Project:TinyMCE WYSIWYG Editor
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

this applys to the flash plugin obviously.

1. if wmode is not transparent everything looks terrible with a white border against sites with non-white backgrounds.
2. drop down menus like nice menus fall behind all flash and become unusable.
3. transparent flash is cooler.

in tinymce.module after line 497 i added

// Build a default list of TinyMCE settings.

  // Is tinymce on by default?
  $status = tinymce_user_get_status($user, $profile);
 
  $init['mode']               = $status == 'true' ? 'exact' : 'none';
  $init['theme']              = $settings['theme'] ? $settings['theme'] : 'advanced';
  $init['relative_urls']      = 'false';
  $init['document_base_url']  = "$host";
  $init['language']           = $settings['language'] ? $settings['language'] : 'en';
  $init['safari_warning']     = $settings['safari_message'] ?  $settings['safari_message'] : 'false';
  $init['entity_encoding']    = 'raw';
  $init['flash_wmode']        = 'transparent';

now things are pretty again... see? www.kopaliorganics.com

 
 

Drupal is a registered trademark of Dries Buytaert.