Drupal.wysiwyg.activeId should default to first editor, not last

quicksketch - October 21, 2009 - 18:31
Project:Wysiwyg
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Description

Right now Drupal.wysiwyg.activeId is set as each editor is instantiated. This has the problem that it defaults to the last editor on the page to be the "active" one when the page is loaded. When other modules are inserting content into the WYSIWYG, it would make sense for the first editor on the page to be the active one by default.

AttachmentSize
wysiwyg_active_default.patch770 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.