Opened 12 years ago

Closed 12 years ago

#10913 closed defect (fixed)

Editor: properly support disabled mode

Reported by: bill Owned by: bill
Priority: high Milestone: 1.5
Component: Editor Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:


Disabling an editor should disable the toolbar buttons (both visually and behaviorally), and it should make the editor text itself appear gray, like what happens to text box.

This came up as part of the claro (nee lucid) work but is not a theme issue per se.

Change History (1)

comment:1 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [21661]) Properly support disabling an editor:

  • Editor.setDisabled(): disable/enable toolbar buttons as appropriate.
  • Editor._setStateClass(): in order to gray out text according to theme settings, copy color attribute from editor's iframe to iframe's document

Fixes #10913 !strict.

Note: See TracTickets for help on using tickets.