Removed "remove paragraph tags" field

This commit is contained in:
Robert
2017-07-03 13:44:37 +02:00
parent caef6cc623
commit 7053c175f8
21 changed files with 0 additions and 60 deletions

View File

@@ -21,7 +21,6 @@
vm.encodeHtml = false;
vm.encodeUrl = false;
vm.convertLinebreaks = false;
vm.removeParagraphTags = false;
vm.showAltField = false;
vm.showAltText = false;
@@ -130,7 +129,6 @@
+ (vm.encodeHtml !== false ? ', encoding: ' + "RenderFieldEncodingType.Html" : "")
+ (vm.encodeUrl !== false ? ', encoding: ' + "RenderFieldEncodingType.Url" : "")
+ (vm.convertLinebreaks !== false ? ', convertLineBreaks: ' + "true" : "")
+ (vm.removeParagraphTags !== false ? ', removeParagraphTags: ' + "true": "")
+ (vm.field ? ')' : "");
$scope.model.umbracoField = pageField;

View File

@@ -168,22 +168,6 @@
</div>
</div>
<!-- Remove paragraph tags -->
<div class="control-group umb-control-group">
<div class="umb-el-wrap">
<div class="controls">
<div>
<label class="control-label" for="paragraph">
<localize key="templateEditor_removeParagraph">Remove paragraph tags</localize>
<small><localize key="templateEditor_removeParagraphHelp">Will remove any paragraph tag in the beginning and end of the text</localize></small>
</label>
</div>
<input type="checkbox" name="paragraph" ng-model="vm.removeParagraphTags">
<localize key="templateEditor_removeParagraphDescription">Yes, remove paragraph tags</localize>
</div>
</div>
</div>
<!-- Output -->
<div class="control-group umb-control-group -no-border">
<div class="umb-el-wrap">