fix code block icon

This commit is contained in:
Hans Pagel 2020-12-01 12:45:47 +01:00
parent 73683917ff
commit 4f8413863f

View File

@ -96,7 +96,7 @@ export default {
isActive: () => this.editor.isActive('orderedList'), isActive: () => this.editor.isActive('orderedList'),
}, },
{ {
icon: 'code-view', icon: 'code-box-line',
action: () => this.editor.chain().focus().toggleCodeBlock().run(), action: () => this.editor.chain().focus().toggleCodeBlock().run(),
isActive: () => this.editor.isActive('codeBlock'), isActive: () => this.editor.isActive('codeBlock'),
}, },