Hi, I have a little question (I think) about changing a value of a property from a custom editor layer in Umbraco 13.. I just want to put generated text from the layer into tiny mce property of my node after submit. This works fine for inputs and textareas, but for tinymce this empties the editor and nothing else happens.. You have any suggestions for me? This is the submit function.
$scope.submit = function () {
$scope.model.umbracoProperty.property.value = $scope.generateResponse.text;
notificationsService.success('Success', $scope.model.umbracoProperty.property.label + ' updated');
$scope.model.close();
}