update Nested Content to run paste resolvers and update deprecated method name

This commit is contained in:
Niels Lyngsø
2020-08-26 16:33:42 +02:00
parent 096f2b73d2
commit 24ec954a7d

View File

@@ -28,7 +28,7 @@
}
}
clipboardService.registrerClearPropertyResolver(clearNestedContentPropertiesForStorage)
clipboardService.registerClearPropertyResolver(clearNestedContentPropertiesForStorage)
function clearInnerNestedContentPropertiesForStorage(prop, propClearingMethod) {
@@ -50,7 +50,7 @@
}
}
clipboardService.registrerClearPropertyResolver(clearInnerNestedContentPropertiesForStorage)
clipboardService.registerClearPropertyResolver(clearInnerNestedContentPropertiesForStorage)
}]);
angular
@@ -474,6 +474,8 @@
return;
}
newNode = clipboardService.parseContentForPaste(newNode);
// generate a new key.
newNode.key = String.CreateGuid();