tiptap editor #2222

Merged
konrad merged 66 commits from dpschen/frontend:feature/feat-tiptap-editor into main 2023-10-22 13:49:01 +00:00
1 changed files with 9 additions and 1 deletions
Showing only changes of commit ca0d9e6bd5 - Show all commits

View File

@ -201,7 +201,9 @@
class="editor-toolbar__button"
@click="editor.chain().focus().setHorizontalRule().run()"
>
horizontal rule
<span class="editor-toolbar__pseudo-icon">
-
</span>
</BaseButton>
<BaseButton
class="editor-toolbar__button"
@ -492,4 +494,10 @@ function setLink() {
border-color: var(--grey-300);
}
}
.editor-toolbar__pseudo-icon {
padding: 0 .5rem;
font-weight: bold;
vertical-align: top;
}
</style>