Voyager
Home
Github
Issues
Search…
1.5
Introduction
Getting started
What is Voyager
Prerequisites
Installation
Upgrading
Configurations
BREAD
Introduction
Relationships
Formfields
Checkbox/Multiple Checkbox/Radio
Coordinates
Date & Time
Dropdown
Images
Media Picker
Number
TinyMCE
Core concepts
Routing
Media Manager
Menus and Menu Builder
Database Manager
Settings
Compass
Roles and Permissions
Helper methods
Multilanguage
Customization
Overriding files
Overriding Routes
Additional CSS and JS
Enabling Soft-Delete
Custom relationship attributes
Adding custom Formfields
Coordinates
BREAD accessors
Custom guard
Action buttons
Troubleshooting
Using HTTPS on yours site
Missing required parameter
Powered By
GitBook
TinyMCE
If you want to customize TinyMCE within Voyager, you can do so by adding a
additional JS file
to your config.
In this file you have to define a function like
1
function
tinymce_init_callback
(
editor
)
2
{
3
//...
4
}
Copied!
If you need to manipulate TinyMCE
before
it was initialized, you can use
1
function
tinymce_setup_callback
(
editor
)
2
{
3
//...
4
}
Copied!
If you want to customize TinyMCE init configuration Options you can merge your custom options in BREAD details as follow:
1
{
2
"tinymceOptions"
:
{
3
"name"
:
"value"
4
}
5
}
Copied!
If you want to use tinyMCE outside it's default template
rich_text_box
you'll need initialize it with:
1
tinymce
.
init
(
window
.
voyagerTinyMCE
.
getConfig
());
Copied!
For all possible variables, functions and configuration Options please refer to the
TinyMCE documentation
.
Previous
Number
Next - Core concepts
Routing
Last modified
6mo ago
Export as PDF
Copy link