declare class mxCellEditor { /** * Variable: graph * * Reference to the enclosing . */ graph: mxGraph; /** * Variable: textarea * * Holds the DIV that is used for text editing. Note that this may be null before the first * edit. Instantiated in . */ textarea: Element; /** * Variable: editingCell * * Reference to the that is currently being edited. */ editingCell: mxCell; /** * Variable: trigger * * Reference to the event that was used to start editing. */ trigger: MouseEvent; /** * Variable: modified * * Specifies if the label has been modified. */ modified: boolean; /** * Variable: autoSize * * Specifies if the textarea should be resized while the text is being edited. * Default is true. */ autoSize: boolean; /** * Variable: selectText * * Specifies if the text should be selected when editing starts. Default is * true. */ selectText: boolean; /** * Variable: emptyLabelText * * Text to be displayed for empty labels. Default is '' or '
' in Firefox as * a workaround for the missing cursor bug for empty content editable. This can * be set to eg. "[Type Here]" to easier visualize editing of empty labels. The * value is only displayed before the first keystroke and is never used as the * actual editing value. */ emptyLabelText: '
' | ''; /** * Variable: escapeCancelsEditing * * If true, pressing the escape key will stop editing and not accept the new * value. Change this to false to accept the new value on escape, and cancel * editing on Shift+Escape instead. Default is true. */ escapeCancelsEditing: boolean; /** * Variable: textNode * * Reference to the label DOM node that has been hidden. */ textNode: string; /** * Variable: zIndex * * Specifies the zIndex for the textarea. Default is 5. */ zIndex: number; /** * Variable: minResize * * Defines the minimum width and height to be used in . Default is 0x20px. */ minResize: mxRectangle; /** * Variable: wordWrapPadding * * Correction factor for word wrapping width. Default is 2 in quirks, 0 in IE * 11 and 1 in all other browsers and modes. */ wordWrapPadding: 2 | 1 | 0; /** * Variable: blurEnabled * * If should be called if