add heading command

This commit is contained in:
Philipp Kühn
2020-04-21 22:36:31 +02:00
parent a057755e42
commit 6b5b30f3fc
4 changed files with 45 additions and 8 deletions

View File

@@ -71,6 +71,7 @@ export class Editor extends EventEmitter {
this.registerCommand('setContent', require('./commands/setContent').default)
this.registerCommand('clearContent', require('./commands/clearContent').default)
this.registerCommand('removeMarks', require('./commands/removeMarks').default)
this.registerCommand('toggleBlockType', require('./commands/toggleBlockType').default)
if (this.options.injectCSS) {
require('./style.css')