Documentation

TinyMCE extends WP_Customize_Control
in package

Provide a TinyMCE in customizer.

Tags
see
https://aurooba.com/adding-tinymce-editor-in-wordpress-customizer/

Table of Contents

Properties

$mediaButtons  : mixed
Allow media buttons in a TinyMCE editor.
$toolbar1  : mixed
$toolbar2  : mixed

Methods

enqueue()  : mixed
Enqueue our scripts and styles
to_json()  : mixed
Pass our TinyMCE toolbar config to JavaScript
render_content()  : mixed
Render TinyMCE editor.

Properties

$mediaButtons

Allow media buttons in a TinyMCE editor.

public mixed $mediaButtons = false

$toolbar1

public mixed $toolbar1 = 'bold,italic,bullist,numlist,link'

$toolbar2

public mixed $toolbar2 = ''

Methods

enqueue()

Enqueue our scripts and styles

public enqueue() : mixed

to_json()

Pass our TinyMCE toolbar config to JavaScript

public to_json() : mixed

render_content()

Render TinyMCE editor.

protected render_content() : mixed

        
On this page

Search results