@@ -236,8 +259,11 @@ function onInsertEditorFinish(text: string): void {
@@ -245,8 +271,11 @@ function onInsertEditorFinish(text: string): void {
diff --git a/gdn-app/src/components/CNoteChildEditor.vue b/gdn-app/src/components/CNoteChildEditor.vue
index f908be7..89f2c82 100644
--- a/gdn-app/src/components/CNoteChildEditor.vue
+++ b/gdn-app/src/components/CNoteChildEditor.vue
@@ -2,8 +2,12 @@
import { RiAddLine } from "@remixicon/vue";
import CNoteEditor from "./CNoteEditor.vue";
+const { moveAndCopy = false } = defineProps<{
+ moveAndCopy?: boolean;
+}>();
+
const emit = defineEmits<{
- (e: "close"): void;
+ (e: "close" | "move" | "copy"): void;
(e: "finish", text: string): void;
}>();
@@ -16,8 +20,11 @@ const emit = defineEmits<{
emit('close')"
@finish="(text) => emit('finish', text)"
+ @move="() => emit('move')"
+ @copy="() => emit('copy')"
/>
diff --git a/gdn-app/src/components/CNoteEditor.vue b/gdn-app/src/components/CNoteEditor.vue
index 908504a..8974f77 100644
--- a/gdn-app/src/components/CNoteEditor.vue
+++ b/gdn-app/src/components/CNoteEditor.vue
@@ -1,14 +1,15 @@