ISSUE 2: fix copy selection
This commit is contained in:
@@ -513,6 +513,12 @@ export const DockBuilder = () => {
|
|||||||
|
|
||||||
const CopySelection = () => {
|
const CopySelection = () => {
|
||||||
// TODO: Copy selection
|
// TODO: Copy selection
|
||||||
|
const activeObject = editorMemo.getActiveObject();
|
||||||
|
if (activeObject) {
|
||||||
|
activeObject.clone(function (cloned) {
|
||||||
|
clipboard = cloned;
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const PasteSelection = () => {
|
const PasteSelection = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user