Skip to content

Commit

Permalink
🎉 v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Jun 20, 2023
1 parent cf8f9df commit 04d4555
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ bld/
[Oo]bj/
[Ll]og/
[Ll]ogs/
src-old/App_Plugins
src-old/App_Plugins/**

# Visual Studio 2015/2017 cache/options directory
.vs/
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ The Umbraco 10.4+ version of this package is [available via NuGet](https://www.n
To install the package, you can use either .NET CLI:

```
dotnet add package Umbraco.Community.BlockPreview --version 1.2.3
dotnet add package Umbraco.Community.BlockPreview --version 1.3.0
```

or the older NuGet Package Manager:

```
Install-Package Umbraco.Community.BlockPreview -Version 1.2.3
Install-Package Umbraco.Community.BlockPreview -Version 1.3.0
```

## Setup
Expand All @@ -41,7 +41,7 @@ Once installed, you'll need to add `AddBlockPreview()` to your `Startup.cs` file
## Usage
This package installs a custom Angular preview for both the Block List and Block Grid editors in the backoffice.

When setting up a block to be part of the List or Grid, setting the 'Custom View' property to `block-preview.html` will generate preview HTML based on the respective partial view found in `/Views/Partials/blocklist/Components` or `/Views/Partials/blockgrid/Components`.
When setting up a block to be part of the List or Grid, setting the 'Custom View' property to `block-preview.html` will generate preview HTML based on the respective partial view found in `/Views/Partials/blocklist/Components` or `/Views/Partials/blockgrid/Components` or ViewComponents.

How to select the custom views when creating a Block List/Grid:
![Screenshot](https://raw.githubusercontent.com/rickbutterfield/Umbraco.Community.BlockPreview/main/screenshots/screenshot1.png "The Umbraco backoffice showing a panel titled 'Select view', with two HTML files in a list available for selection")
Expand Down
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions src-old/Our.Umbraco.BlockPreview.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackageId>Our.Umbraco.BlockPreview</PackageId>
<Title>Our.Umbraco.BlockPreview</Title>

<VersionPrefix>1.2.3</VersionPrefix>
<VersionPrefix>1.3.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Rick Butterfield, Dave Woestenborghs, Matthew Wise</Authors>

Expand All @@ -17,7 +17,7 @@

<RepositoryUrl>https://github.com/rickbutterfield/Umbraco.Community.BlockPreview</RepositoryUrl>

<Description>Easy to use rich HTML previews for the Umbraco Block List and Block Grid editors</Description>
<Description>Easy to use rich HTML backoffice previews for the Umbraco Block List and Block Grid editors</Description>

<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>false</IncludeSymbols>
Expand All @@ -28,11 +28,11 @@
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Umbraco.Community.BlockPreview" Version="1.2.3" />
<PackageReference Include="Umbraco.Community.BlockPreview" Version="1.3.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Umbraco.Community.BlockPreview" Version="1.2.3" />
<PackageReference Include="Umbraco.Community.BlockPreview" Version="1.3.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Umbraco.Community.BlockPreview.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackageId>Umbraco.Community.BlockPreview</PackageId>
<Title>Umbraco.Community.BlockPreview</Title>

<VersionPrefix>1.2.3</VersionPrefix>
<VersionPrefix>1.3.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Rick Butterfield, Dave Woestenborghs, Matthew Wise</Authors>

Expand All @@ -17,7 +17,7 @@

<RepositoryUrl>https://github.com/rickbutterfield/Umbraco.Community.BlockPreview</RepositoryUrl>

<Description>Easy to use rich HTML previews for the Umbraco Block List and Block Grid editors</Description>
<Description>Easy to use rich HTML backoffice previews for the Umbraco Block List and Block Grid editors</Description>

<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>false</IncludeSymbols>
Expand Down

0 comments on commit 04d4555

Please sign in to comment.