Documentation

ace
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) 2025, Stefan Seehafer

license

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

since
5.3.0-dev

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$enableBasicAutocompletion  : bool
Autocompletion enabled
$enableLiveAutocompletion  : bool
Live autocompletion enabled
$enableSnippets  : bool
Snippets for autocompletion enabled
$fontSize  : string
Editor font size
$maxLines  : int
Meximum number of editor lines
$minLines  : int
Minimum number of editor lines
$mode  : string
Editor Mode
$theme  : string
Editor themen
$wrap  : bool
Wrap lines
__construct()  : mixed
Constructor

Properties

$enableBasicAutocompletion

Autocompletion enabled

protected bool $enableBasicAutocompletion = true

$enableLiveAutocompletion

Live autocompletion enabled

protected bool $enableLiveAutocompletion = true

$enableSnippets

Snippets for autocompletion enabled

protected bool $enableSnippets = true

$fontSize

Editor font size

protected string $fontSize

$maxLines

Meximum number of editor lines

protected int $maxLines = 50

$minLines

Minimum number of editor lines

protected int $minLines = 15

$mode

Editor Mode

protected string $mode = 'ace/mode/html'

$theme

Editor themen

protected string $theme

$wrap

Wrap lines

protected bool $wrap = true

Methods

__construct()

Constructor

public __construct(config $config) : mixed
Parameters
$config : config
Return values
mixed

Search results