$("#divnotes").trumbowyg({
btns: [
['viewHTML'],
['undo', 'redo'],
['formatting'],
['strong', 'em', 'del'],
['superscript', 'subscript'],
['link'],
// ['insertImage'],
['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
['unorderedList', 'orderedList'],
['horizontalRule'],
['removeformat'],
['fullscreen']
]
});
Note the "insertImage" button is commented out or removed. I want everything else in the default. Would love something shorter that excludes a button from the default list, something like:
$("#divnotes").trumbowyg({
btns: [
['-insertImage'],
]
});
btns minus insertImage.
If I want the default toolbar without a button, the script looks like
Note the "insertImage" button is commented out or removed. I want everything else in the default. Would love something shorter that excludes a button from the default list, something like:
btns minus insertImage.