The editor instance for which this decorator was created.
Request that the decorator add its event handlers to its listener.
Context menu handler for the labels of elements decorated by Decorator.elementDecorator.
Whether or not this event is for the start label.
The DOM event that wed generated to trigger this handler.
The DOM event that wed received.
To be interpreted the same way as for all DOM event handlers.
Determine whether an attribute must be hidden. The default implementation
calls upon the attributes.autohide
section of the "wed options" that
were used by the mode in effect to determine whether an attribute should be
hidden or not.
The element in the GUI tree that we want to test.
The attribute name in "prefix:localName" format where "prefix" is to be understood according to the absolute mapping defined by the mode.
true
if the attribute must be hidden. false
otherwise.
Add or remove the CSS class _readonly
on the basis of the 2nd argument.
The element to modify. Must be in the GUI tree.
Whether the element is readonly or not.
Start listening to changes to the DOM tree.
Generated using TypeDoc
A decorator is responsible for adding decorations to a tree of DOM elements. Decorations are GUI elements.