Merge pull request #8736 from umbraco/v8/bugfix/block-list-recreate-udis-on-paste

V8.7RC: Recreate UDIs for pasted Block Editor entries
This commit is contained in:
Mole
2020-09-03 11:33:44 +02:00
committed by GitHub
4 changed files with 139 additions and 20 deletions

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();