\SimpleHtmlEditorField

Defines a formfield that has HTML editing capability using the TinyMCE plugin

Synopsis

class SimpleHtmlEditorField extends TextareaField {
}

Hierarchy

Extends

  • TextareaField

Members

public

  • $default_blockformats — string
  • $default_buttons — string

Methods

public

  • FieldHolder() — Builds the form field, includes JavaScript, and sets defaults
  • setBlockFormats() — Sets the available block formats for this HTML Editor
  • setButtons() — Sets the buttons for this HTML editor
  • setCSS() — Sets the default CSS for the editor, i.e. for typography