refactoring

This commit is contained in:
Philipp Kühn
2021-01-18 23:41:38 +01:00
parent 06728824ad
commit aaa0832883
6 changed files with 64 additions and 45 deletions

View File

@@ -5,7 +5,7 @@
</template>
<script>
import tippy, { sticky } from 'tippy.js'
import tippy from 'tippy.js'
import { Editor, EditorContent, VueRenderer } from '@tiptap/vue'
import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
@@ -34,7 +34,7 @@ export default {
items: query => {
return ['Hans', 'Philipp', 'Kris'].filter(item => item.startsWith(query))
},
renderer: () => {
render: () => {
let component
let popup

View File

@@ -147,6 +147,7 @@ Have a look at all of the core commands listed below. They should give you a goo
| .lift() | Removes an existing wrap. |
| .liftEmptyBlock() | Lift block if empty. |
| .newlineInCode() | Add a newline character in code. |
| .replace() | Replaces text with a node within a range. |
| .resetNodeAttributes() | Resets all node attributes to the default value. |
| .selectParentNode() | Select the parent node. |
| .setMark() | Add a mark with new attributes. |