add hardbreak commands

This commit is contained in:
Philipp Kühn
2020-11-18 12:11:45 +01:00
parent fbee7656c8
commit bf08653bba
5 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div v-if="editor">
<button @click="editor.chain().focus().hardBreak().run()">
<button @click="editor.chain().focus().setHardBreak().run()">
hardBreak
</button>