change toolbar on tinymce
change toolbar on tinymce
![CT General Assembly](https://secure.gravatar.com/avatar/73740b311311e81ec5f760f485e78ff4/?default=https%3A%2F%2Fvanillicon.com%2F73740b311311e81ec5f760f485e78ff4_200.png&rating=g&size=120)
I'd like to change the toolbar options on the tinymce plugin, but I'm not sure what the selector needs to be for the Editor. This is my code:
editor.on('open', function () {
tinymce.init({
selector: ".DTE_Field DTE_Field_Type_tinymce",
plugins: "spellchecker",
menubar: "tools",
toolbar: "spellchecker"
});
});
It currently has no effect. Any suggestions?
This question has an accepted answers - jump to answer
Answers
Never mind! I figured it out by looking here: https://editor.datatables.net/plug-ins/field-type/editor.tinymce