add preview

This commit is contained in:
Mads Rasmussen
2018-11-07 18:23:43 +01:00
parent dca4c4e3bf
commit 1d07ef7e4d
2 changed files with 14 additions and 0 deletions

View File

@@ -30,6 +30,18 @@
<textarea ng-model="model.rule.styles" required></textarea>
</umb-control-group>
<umb-control-group label="@stylesheet_preview" description="@stylesheet_previewHelp">
<div style="{{model.rule.styles}}">
a b c d e f g h i j k l m n o p q r s t u v w x t z
<br>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
<br>
1 2 3 4 5 6 7 8 9 0 € £ $ % & (.,;:'\"!?)
<br>
Just keep examining every bid quoted for zinc etchings.
</div>
</umb-control-group>
</umb-box-content>
</umb-box>

View File

@@ -1359,6 +1359,8 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="stylesHelp">The CSS that should be applied in the rich text editor, e.g. "color:red;"</key>
<key alias="tabCode">Code</key>
<key alias="tabRules">Rich Text Editor</key>
<key alias="preview">Preview</key>
<key alias="previewHelp">How the text will look like in the rich text editor.</key>
</area>
<area alias="template">
<key alias="edittemplate">Edit template</key>