This plugin adds a toolbar button that allows a user to edit the HTML code using a more advanced code editor than the default textarea.
If you are using Advanced Code Editor advcode plugin, make sure you do not use Code (code) plugin.
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'advcode',
toolbar: 'code'
});liveDemo::advcode[]
partial$misc/plugin-toolbar-button-id-boilerplate.adoc :!altplugincode:
partial$misc/plugin-menu-item-id-boilerplate.adoc :!altplugincode:
The Advanced Code plugin provides the following JavaScript command.