TinyMCE rich text editor version 6.8.2.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: InputfieldTextarea, InputfieldText, Inputfield, WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Inputfield Inputfield Inputfield | (nothing) | Add an external plugin .js file | |
Inputfield | string | ||
Inputfield | Inputfield | ||
Inputfield Inputfield Inputfield | bool | Get or set configurable state | |
Inputfield | string | Basename of content CSS file to use or "custom" to use custom URL (default='wire') | |
Inputfield | string | Applies only if $content_css has value "custom" | |
Inputfield | string | Space-separated string of tools to show in context menu | |
Inputfield | bool int | Makes Inputfield | |
Inputfield | string | Location of optional defaults.json file that merges with defaults.json (URL relative to PW root URL) | |
Inputfield | string | JSON that merges with the defaults.json for all instances | |
Inputfield | string | Newline separated URL paths (relative to PW root) of extra plugin .js files | |
Inputfield | array | Additional plugins to enable for this field (URL paths from customPluginOptions) | |
Inputfield | array | URLs of external plugins, this is also a TinyMCE setting | |
Inputfield | string | Extra CSS for editor, applies to all editors (appended to TinyMCE content_style setting) | |
Inputfield | array | General features: toolbar, menubar, statusbar, stickybars, spellcheck, purifier, imgUpload, imgResize, pasteFilter | |
Inputfield | Inputfield | ||
Inputfield Inputfield Inputfield | array mixed string null | Get | |
Inputfield Inputfield Inputfield | InputfieldWrapper | Get Inputfield configuration settings | |
Inputfield Inputfield Inputfield | string | Get configuration name used to store settings in ProcessWire.config JS | |
Inputfield Inputfield Inputfield | string | Get directionality, either 'ltr' or 'rtl' | |
Inputfield Inputfield Inputfield | string | Get styles to add in <head> | |
Inputfield Inputfield Inputfield | string | Get all configurable setting names | |
Inputfield | array | Allowed headline types | |
Inputfield | int | Height of editor in pixels | |
Inputfield Inputfield Inputfield | Inputfield | Get helper | |
Inputfield | array | Names of fields allowed for drag-drop in images | |
Inputfield | bool | ||
Inputfield | int | Use inline mode? 0=Regular editor, 1=Inline editor, 2=Fixed height inline editor | |
Inputfield | string | Space-separated string of invalid inline styles | |
Inputfield | int | Use lazy-loading mode? 0=Off, 1=Lazy, 2=Extra lazy | |
Inputfield Inputfield Inputfield | string | Return path or URL to TinyMCE files | |
Inputfield | string | Space-separated list of top-level menubar items | |
Inputfield | array | Names of optional settings that can be configured per-field | |
Inputfield | string | Rule string of elements and attributes allowed during filtered paste | |
Inputfield | string | Space-separated string of plugins to enable | |
Inputfield Inputfield Inputfield | $this | Process input | |
Inputfield | bool | Automatically set during renderValue mode | |
Inputfield Inputfield Inputfield | bool | Remove an external plugin .js file | |
Inputfield | string | Space-separated string of tools to remove from menubar | |
Inputfield Inputfield Inputfield | string | Render Inputfield | |
Inputfield Inputfield Inputfield | bool | Render ready | |
Inputfield Inputfield Inputfield | string | Render non-editable value | |
Inputfield | null bool | ||
Inputfield Inputfield Inputfield | self | Set | |
Inputfield Inputfield Inputfield | $this | Set configuration name used to store settings in ProcessWire.config JS | |
Inputfield | Inputfield | ||
Inputfield | string | Alternate field to inherit settings from rather than configure settings with this instance. | |
Inputfield | string | Location of optional custom-settings.json settings file (URL relative to PW root URL) | |
Inputfield | string | JSON with custom settings that override the defaults | |
Inputfield | string | ||
Inputfield | string | ||
Inputfield | string | Style formats as CSS to parse and apply to style_formats and content_style | |
Inputfield | array | Markup toggles, see self::toggle* constants | |
Inputfield | string | Space-separated string of tools to show in toolbar | |
Inputfield | Inputfield | ||
Inputfield Inputfield Inputfield | bool | Use the named feature? |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.236