There are two ways that I recommend doing, the easiest option is to hide the ignition button (as it is called) ( SASS link ):
.ct-ignition { display: none; }
If you prefer to completely remove a button from the DOM, you can disable this button from the user interface ( CoffeeScript link ):
My advice would be to use CSS to hide the ignition and trigger events against it to trigger the functionality manually through your custom button, for example:
var editor = ContentTools.EditorApp.get(); // Starting the editor manually editor._ignition.trigger('start'); // Stoping the editor manually (save) editor._iginition.trigger('stop', true); // Stoping the editor manually (cancel) editor._iginition.trigger('stop', false);
It may also be useful to look at these questions asked in the github project list:
source share