Voyager
HomeGithubIssues
1.3
1.3
  • 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
  • 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
    • TinyMCE
    • Adding custom Formfields
    • Coordinates
    • BREAD accessors
    • Custom guard
    • Action buttons
  • Troubleshooting
    • Using HTTPS on yours site
    • Missing required parameter
Powered by GitBook
On this page
Export as PDF
  1. Customization

TinyMCE

PreviousCustom relationship attributesNextAdding custom Formfields

Last updated 5 years ago

If you want to customize TinyMCE within Voyager, you can do so by adding a to your config.

In this file you have to define a function like

function tinymce_init_callback(editor)
{
    //...
}

If you need to manipulate TinyMCE before it was initialized, you can use

function tinymce_setup_callback(editor)
{
    //...
}

Now you can control the TinyMCE instance(s) on the page. For all possible variables and functions, please refer to the .

additional JS file
TinyMCE documentation