mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 15:49:23 +08:00
fix code block icon
This commit is contained in:
parent
73683917ff
commit
4f8413863f
@ -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'),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user