Element Storage: Properties
Several values are stored on the element and Rich Text Editor using the excellent Mootools Element storage hash. These are designed for internal use, but are globally accessible.
Stored Property: RTE
Syntax
myElement.retrieve('RTE');
Returns
- (object) - reference to whichever RTE is associated with the element.
Stored Property: removed
Flag used internally by the moorte('remove') method to track when an RTE is removed.
Syntax
myElement.retrieve('removed');
Returns
- (Boolean) 'True' if element has been removed.
Element Storage: RTE Properties
Stored Property: fields
Syntax
myRTE.retrieve('fields');
Returns
- (array) - A reference to all fields that are associated with this RTE.
Stored Property: shortcuts
Syntax
myRTE.retrieve('shortcuts');
Returns
- (object) - list of key:function's. When 'ctrl' + key is pressed, function is carried out.
Stored Property: update
Syntax
myRTE.retrieve('update');
Returns
- (object) - storage for all reference to the RTE that is associated with the element.
Stored Property: ranges
Syntax
myRTE.retrieve('ranges');
Returns
- (object) - name:range references to all ranges that are stored for each RTE.
- (array) - A reference to all fields that are associated with this RTE.
Stored Property: shortcuts
Syntax
myRTE.retrieve('shortcuts');
Returns
- (object) - list of key:function's. When 'ctrl' + key is pressed, function is carried out.
Stored Property: update
Syntax
myRTE.retrieve('update');
Returns
- (object) - storage for all reference to the RTE that is associated with the element.
Stored Property: ranges
Syntax
myRTE.retrieve('ranges');
Returns
- (object) - name:range references to all ranges that are stored for each RTE.
- (object) - storage for all reference to the RTE that is associated with the element.
Stored Property: ranges
Syntax
myRTE.retrieve('ranges');