Closed kaju74 closed 2 months ago
editorInstance.core.commandHandler(editorInstance.core.allCommandButtons.showBlocks, 'showBlocks');
const editorInstance = suneditor.create(..)
editorInstance.onload = function (core, reload) {
core.commandHandler(core.allCommandButtons.showBlocks, 'showBlocks');
}
Ops - missed your reply ;-) Thank you very much....
Hi,
is there a way to enable (activcate) a button by default? I want to "showBlocks" by default instead of clicking on the corresponding toolbar-button after the editor has been loaded.
Thank you for this great editor... ;-)