Symbiote\Prose\ProseEditorField
Synopsis
class ProseEditorField
extends FormField
{
- // members
- private static array $allowed_actions = ;
- private static array $type_map = ;
- protected string $uploadPath = 'Uploads';
- protected array $settings = ;
- protected integer $contextId = 0;
- protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_TEXT;
- // methods
- public void __construct()
- public void setContext()
- public void setUploadPath()
- public void getUploadPath()
- public void setContextId()
- public void getContextId()
- public void enableSetting()
- public void disableSetting()
- public void enableMenuItem()
- public void disableMenuItem()
- public void getAttributes()
- public string ValueEntities()
- public JSONString childnodes()
- protected void generateThumbnails()
- protected DataList childrenOfNode()
Hierarchy
Extends
- SilverStripe\Forms\FormField
Members
private
- $allowed_actions
- $type_map
protected
-
$contextId
is this editor attached to a particular object? - $schemaDataType
- $settings
- $uploadPath
Methods
protected
- childrenOfNode() — Method to work around bug where Hierarchy.php directly refers to ShowInMenus, which is only available on SiteTree
- generateThumbnails() — Called to generate thumbnails before sending the image data back
public
- __construct()
- ValueEntities() — Return value with all values encoded in html entities
- childnodes() — Request nodes from the server
- disableMenuItem()
- disableSetting()
- enableMenuItem()
- enableSetting()
- getAttributes() — {@inheritdoc}
- getContextId()
- getUploadPath()
- setContext()
- setContextId()
- setUploadPath()