Voyager RU
  • Вступление
  • С чего начать
    • Что такое Voyager
    • Требования
    • Установка
    • Upgrading
    • Конфигурации
  • BREAD
    • Введение
    • Отношения
    • Поля форм
      • Флажки (Checkbox)
      • Координаты
      • Дата и время
      • Выпадающий список (Dropdown)
      • Изображения
      • Загрузка файлов (Media Picker)
      • Ввод чисел (Number)
      • TinyMCE
  • Основные концепции
    • Маршрутизация
    • Медиа-менеджер
    • Меню и конструктор меню
    • Управление базой данных
    • Настройки
    • Навигатор (Compass)
    • Роли и разрешения
    • Helper methods
    • Многоязычность
  • Персонализация
    • Переопределение файлов
    • Переопределение маршрутов
    • 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
On this page

Was this helpful?

  1. BREAD
  2. Поля форм

TinyMCE

PreviousВвод чисел (Number)NextМаршрутизация

Last updated 4 years ago

Was this helpful?

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)
{
    //...
}

If you want to customize TinyMCE init configuration Options you can merge your custom options in BREAD details as follow:

{
    "tinymceOptions" : {
        "name": "value"
    }
}

If you want to use tinyMCE outside it's default template rich_text_box you'll need initialize it with:

tinymce.init(window.voyagerTinyMCE.getConfig());

For all possible variables, functions and configuration Options please refer to the .

additional JS file
TinyMCE documentation