TinyMCE
extends WP_Customize_Control
in package
Provide a TinyMCE in customizer.
Tags
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
= 'formatselect,bold,italic,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,spellchecker,fullscreen'
$toolbar2
public
mixed
$toolbar2
= 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help'
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