Closed (fixed)
Project:
Wysiwyg
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2008 at 10:45 UTC
Updated:
14 Dec 2008 at 17:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunConfirmed.
However, fixing this is not trivial, since Wysiwyg does not know whether there is an editor attached to a textarea currently. This means we need parts of the patch in #319363: Rewrite editor plugin API, which introduces a global object that contains textarea-to-editor associations. Whenever an editor is attached, the entry for the textarea in this object is inserted/updated, and when it detaches, the entry is nullified/removed. In addition to this, the "enable/disable rich-text" link has to work based on this state data.
Comment #2
sunThis is what I've been able to come up so far, based on the changes introduced by #319363: Rewrite editor plugin API.
Remaining issues are covered by @todo remarks inline.
Comment #3
robloachLittle bit of fuzz, but works!
Comment #4
sunI don't think the two mentioned @todos in the patch are really working already - one of them 1:1 tied to this issue... hence, PNW. Or prove me wrong, please. ;)
Comment #5
sunRe-rolled.
Comment #6
sunCommitted attached patch to all branches.