whitespace
This commit is contained in:
@@ -40,6 +40,7 @@ Editor.svelte
|
|||||||
editor.destroy()
|
editor.destroy()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if editor}
|
{#if editor}
|
||||||
<button on:click={() => editor.chain().focus().toggleBold().run()} class:active={editor.isActive('bold')}>
|
<button on:click={() => editor.chain().focus().toggleBold().run()} class:active={editor.isActive('bold')}>
|
||||||
Bold
|
Bold
|
||||||
@@ -51,5 +52,6 @@ Editor.svelte
|
|||||||
Strike
|
Strike
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div bind:this={element} />
|
<div bind:this={element} />
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user