Documentation

tinymceEditor5
in package
implements JsonSerializable Uses jsonSerializeReturnObject

TinyMCE 5 based editor plugin config class

Tags
author

Stefan Seehafer aka imagine fanpress@nobody-knows.org

copyright

(c) 2021, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$automatic_uploads  : string
automatic_uploads setting
$autosave_prefix  : string
autosave_prefix setting
$custom_elements  : string
custom_elements setting
$file_picker_types  : string
file_picker_types setting
$image_caption  : string
image_caption setting
$image_class_list  : string
image_class_list setting
$image_list  : string
image_list setting
$images_upload_url  : string
images_upload_url setting
$language  : string
Editor language
$link_class_list  : string
link_class_list setting
$link_list  : string
link_list setting
$min_height  : string
min_height setting
$pagebreak_separator  : string
pagebreak_separator setting
$plugins  : string
plugins setting
$skin  : string
image_caption setting
$templates  : string
templates setting
$textpattern_patterns  : string
textpattern_patterns setting
$theme  : string
Editor theme
$toolbar  : string
toolbar setting
$width  : string
width setting
__construct()  : mixed
Constructor
prepareComments()  : bool
INit editor plugins for comment editor

Properties

$automatic_uploads

automatic_uploads setting

public string $automatic_uploads

$autosave_prefix

autosave_prefix setting

public string $autosave_prefix

$custom_elements

custom_elements setting

public string $custom_elements = 'readmore'

$file_picker_types

file_picker_types setting

public string $file_picker_types = ['image', 'file']

$image_caption

image_caption setting

public string $image_caption = true

$image_class_list

image_class_list setting

public string $image_class_list

$images_upload_url

images_upload_url setting

public string $images_upload_url

link_class_list setting

public string $link_class_list

$pagebreak_separator

pagebreak_separator setting

public string $pagebreak_separator

$textpattern_patterns

textpattern_patterns setting

public string $textpattern_patterns

Methods

__construct()

Constructor

public __construct(config $config, array<string|int, mixed> $pluginFolders, array<string|int, mixed> $cssClasses, array<string|int, mixed> $patterns, array<string|int, mixed> $drafts, int $userId) : mixed
Parameters
$config : config
$pluginFolders : array<string|int, mixed>
$cssClasses : array<string|int, mixed>
$patterns : array<string|int, mixed>
$drafts : array<string|int, mixed>
$userId : int
Return values
mixed

prepareComments()

INit editor plugins for comment editor

public prepareComments() : bool
Return values
bool

Search results