|
@@ -348,7 +348,7 @@ export class TLApp<
|
|
}
|
|
}
|
|
|
|
|
|
copy = () => {
|
|
copy = () => {
|
|
- if (this.selectedShapesArray.length > 0) {
|
|
|
|
|
|
+ if (this.selectedShapesArray.length > 0 && !this.editingShape) {
|
|
const tldrawString = JSON.stringify({
|
|
const tldrawString = JSON.stringify({
|
|
type: 'logseq/whiteboard-shapes',
|
|
type: 'logseq/whiteboard-shapes',
|
|
shapes: this.selectedShapesArray.map(shape => shape.serialized),
|
|
shapes: this.selectedShapesArray.map(shape => shape.serialized),
|
|
@@ -362,7 +362,7 @@ export class TLApp<
|
|
}
|
|
}
|
|
|
|
|
|
paste = (e?: ClipboardEvent) => {
|
|
paste = (e?: ClipboardEvent) => {
|
|
- if (this.editingShape) {
|
|
|
|
|
|
+ if (!this.editingShape) {
|
|
this.notify('paste', {
|
|
this.notify('paste', {
|
|
point: this.inputs.currentPoint,
|
|
point: this.inputs.currentPoint,
|
|
})
|
|
})
|