SwiftDevLabs\CodeEditorField\Forms\CodeEditorField
Synopsis
class CodeEditorField
extends TextareaField
{
- // methods
- public void Field()
- public void setHeight()
- public int getHeight()
- public void getInputType()
- public string getMode()
- public void setMode()
Hierarchy
Extends
- SilverStripe\Forms\TextareaField
Members
private
- $height
- $mode
Methods
public
- Field()
- getHeight() — Height of field
- getInputType()
- getMode() — Get editing mode of the editor. Modes can be found at https://github.com/ajaxorg/ace/tree/master/lib/ace/mode
- setHeight() — Set height of editor in pixels
- setMode() — Set the modes. Get list of modes at https://github.com/ajaxorg/ace/tree/master/lib/ace/mode