Skip to content

Commit

Permalink
Merge pull request #6733 from Ambertvu/ambertvu/block-editor
Browse files Browse the repository at this point in the history
Removed and updated label description for blocks
  • Loading branch information
sofietoft authored Dec 10, 2024
2 parents 67cbe87 + 79103c5 commit f5b6966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ Customize the user experience for your content editors when they work with the B
* **Label** - Defines a label for the appearance of the Block in the editor. The label can use AngularJS template-string-syntax to display values of properties.

{% hint style="info" %}
Label example: "My Block \{{myPropertyAlias\}}" will be shown as: "My Block FooBar".

You can also use more advanced expression using AngularJS filters, like `{{myPropertyAlias | limitTo:100}}` or for a property using Richtext editor `{{myPropertyAlias | ncRichText | truncate:true:100}}`. It is also possible to use properties from the Settings model by using `{{$settings.propertyAlias}}`.

Get more tips on how to use AngularJS filters in Umbraco CMS from this community-made [Umbraco AngularJS filter cheat sheet](https://joe.gl/ombek/blog/umbraco-angularjs-filter-cheat-sheet/).
Label example: "My Block \{=myPropertyAlias\}" will be shown as: "My Block FooBar".
{% endhint %}

* **Content model** - Presents the Element Type used as model for the Content section of this Block. This cannot be changed but you can open the Element Type to perform edits or view the properties available. Useful when writing your Label.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ Customize the user experience for your content editors when they work with the B
* **Label** - Defines a label for the appearance of the Block in the editor. The label can use AngularJS template-string-syntax to display values of properties.

{% hint style="info" %}
Label example: "My Block \{{myPropertyAlias\}}" will be shown as: "My Block FooBar".

You can also use more advanced expression using AngularJS filters, like `{{myPropertyAlias | limitTo:100}}` or for a property using Richtext editor `{{myPropertyAlias | ncRichText | truncate:true:100}}`. It is also possible to use properties from the Settings model by using `{{$settings.propertyAlias}}`.

Get more tips on how to use AngularJS filters in Umbraco CMS from this community-made [Umbraco AngularJS filter cheat sheet](https://joe.gl/ombek/blog/umbraco-angularjs-filter-cheat-sheet/).
Label example: "My Block \{=myPropertyAlias\}" will be shown as: "My Block FooBar".
{% endhint %}

* **Content model** - Presents the Element Type used as model for the Content section of this Block. This cannot be changed but you can open the Element Type to perform edits or view the properties available. Useful when writing your Label.
Expand Down

0 comments on commit f5b6966

Please sign in to comment.