InputfieldTinyMCE class
TinyMCE rich text editor version 6.8.2.
TinyMCE 6.x, Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc. https://www.tiny.cloud/docs/tinymce/6/
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
Properties
Name | Return | Summary | |
---|---|---|---|
Inputfield | string | Name of configuration set to use DEFAULT: blank | |
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 DEFAULT: false | |
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 | array | Allowed headline types | |
Inputfield | int | Height of editor in pixels | |
Inputfield | array | Names of fields allowed for drag-drop in images | |
Inputfield | bool | Is the editor initialized? This is a read-only property. DEFAULT: false | |
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 | 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 | bool | Are we in read-only mode? Automatically set during renderValue mode. This is a read-only property. DEFAULT: false | |
Inputfield | string | Space-separated string of tools to remove from menubar | |
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 | Skin to use DEFAULT: oxide | |
Inputfield | string | URL to skin | |
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 |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.251