Skip to content

Commit

Permalink
🎉 v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed May 24, 2023
1 parent 13ce459 commit 8fba4a7
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 200 deletions.
4 changes: 2 additions & 2 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.2
dotnet add package Umbraco.Community.BlockPreview --version 1.2.3
```

or the older NuGet Package Manager:

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

## Setup
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 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.2</VersionPrefix>
<VersionPrefix>1.2.3</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Rick Butterfield, Dave Woestenborghs, Matthew Wise</Authors>

Expand All @@ -28,11 +28,11 @@
</PropertyGroup>

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

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

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@
var target = $event.target;
var blockActions = target.closest('.umb-block-grid__block--actions');
var areaCreate = target.closest('.umb-block-grid__create-button');
var blockCreateButton = target.closest('.umb-block-grid__block--inline-create-button');
var blockCreateButtonLast = target.closest('.umb-block-grid__block--last-inline-create-button');

if (!blockActions && !areaCreate) {
if (!blockActions && !areaCreate && !blockCreateButton && !blockCreateButtonLast) {
block.edit();
$event.preventDefault();
$event.stopPropagation();
Expand Down
2 changes: 1 addition & 1 deletion 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.2</VersionPrefix>
<VersionPrefix>1.2.3</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Rick Butterfield, Dave Woestenborghs, Matthew Wise</Authors>

Expand Down

0 comments on commit 8fba4a7

Please sign in to comment.