mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 19:59:02 +08:00
whitespace
This commit is contained in:
parent
dae9eefdc5
commit
9f23ff20d6
@ -40,6 +40,7 @@ Editor.svelte
|
||||
editor.destroy()
|
||||
})
|
||||
</script>
|
||||
|
||||
{#if editor}
|
||||
<button on:click={() => editor.chain().focus().toggleBold().run()} class:active={editor.isActive('bold')}>
|
||||
Bold
|
||||
@ -51,5 +52,6 @@ Editor.svelte
|
||||
Strike
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<div bind:this={element} />
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user