improve the hardbreak demo and add tests

This commit is contained in:
Hans Pagel
2020-09-10 12:11:42 +02:00
parent 72d262c9fc
commit c2570d6adc
4 changed files with 30 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
<template>
<div v-if="editor">
<button @click="editor.focus().hardBreak()">
hardBreak
</button>
<editor-content :editor="editor" />
</div>
</template>