Add delete button and group buttons

This commit is contained in:
Joscha 2025-02-12 03:00:50 +01:00
parent 6e96ae7fd4
commit aaca49f1d2

View file

@ -10,6 +10,7 @@ import {
RiArrowUpWideLine, RiArrowUpWideLine,
RiCornerDownRightLine, RiCornerDownRightLine,
RiCornerUpRightLine, RiCornerUpRightLine,
RiDeleteBinLine,
RiEditLine, RiEditLine,
RiPushpinFill, RiPushpinFill,
RiPushpinLine, RiPushpinLine,
@ -205,9 +206,14 @@ function onInsertEditorFinish(text: string): void {
<CNoteButton :visible="hovering" @click.stop="onInsertChildButtonClick"> <CNoteButton :visible="hovering" @click.stop="onInsertChildButtonClick">
<RiCornerDownRightLine size="16px" /> <RiCornerDownRightLine size="16px" />
</CNoteButton> </CNoteButton>
<div class="w-0.5"></div>
<CNoteButton :visible="hovering">
<RiDeleteBinLine size="16px" />
</CNoteButton>
<CNoteButton :visible="hovering" @click.stop="onEditButtonClick"> <CNoteButton :visible="hovering" @click.stop="onEditButtonClick">
<RiEditLine size="16px" /> <RiEditLine size="16px" />
</CNoteButton> </CNoteButton>
<div class="w-0.5"></div>
<CNoteButton <CNoteButton
:visible="hovering || pinned" :visible="hovering || pinned"
:inverted="pinned" :inverted="pinned"