diff --git a/apps/Sitko.Blockly.Demo/Pages/Index.razor b/apps/Sitko.Blockly.Demo/Pages/Index.razor
index d84aac4..5bf79da 100644
--- a/apps/Sitko.Blockly.Demo/Pages/Index.razor
+++ b/apps/Sitko.Blockly.Demo/Pages/Index.razor
@@ -4,37 +4,39 @@
@using Sitko.Blockly.Display
@using Sitko.Core.Storage
@inherits BaseComponent
-
+
+
-
- Home
- Posts
-
+ Home
+ Posts
-
-
-
-
-
-
- @foreach (Post post in Posts)
- {
-
-
-
-
-
-
-
-
-
-
- }
+
+
+
+
+
+
+
+ @foreach (Post post in Posts)
+ {
+
+
+
+
+
+
+
+
+
+
+
+ }
-
-
+
+
@code{
diff --git a/apps/Sitko.Blockly.Demo/Pages/Show.razor b/apps/Sitko.Blockly.Demo/Pages/Show.razor
index 1cf908b..576c3d5 100644
--- a/apps/Sitko.Blockly.Demo/Pages/Show.razor
+++ b/apps/Sitko.Blockly.Demo/Pages/Show.razor
@@ -1,6 +1,6 @@
@page "/Posts/{PostId:guid}"
-@using Sitko.Blockly.Demo.Data.Entities
@using Sitko.Core.Storage
+@using Sitko.Blockly.Display
@inherits BaseComponent
@if (Post is not null)
{
@@ -20,7 +20,7 @@
-
+
}
diff --git a/src/Sitko.Blockly.AntDesign/Display/AntDesignBlocklyListOptions.cs b/src/Sitko.Blockly.AntDesign/Display/AntDesignBlocklyListOptions.cs
index 805901a..819a0db 100644
--- a/src/Sitko.Blockly.AntDesign/Display/AntDesignBlocklyListOptions.cs
+++ b/src/Sitko.Blockly.AntDesign/Display/AntDesignBlocklyListOptions.cs
@@ -2,7 +2,14 @@
namespace Sitko.Blockly.AntDesignComponents.Display
{
+ using Core.Storage;
+ using Sitko.Blockly.Display;
+
public class AntDesignBlocklyListOptions : BlazorBlocklyListOptions
{
+ public AntDesignBlocklyListOptions(BlocksListMode mode = BlocksListMode.Full,
+ IStorage? storage = null, string? entityUrl = null) : base(mode, storage, entityUrl)
+ {
+ }
}
}
diff --git a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntCutBlockComponent.razor b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntCutBlockComponent.razor
index d9ed4f5..08c5702 100644
--- a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntCutBlockComponent.razor
+++ b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntCutBlockComponent.razor
@@ -1,19 +1,27 @@
@inherits CutBlockComponent
-
-
+
+
+}
+else
+{
+
+}
diff --git a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntFilesBlockComponent.razor b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntFilesBlockComponent.razor
index 25da884..76ae6a2 100644
--- a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntFilesBlockComponent.razor
+++ b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntFilesBlockComponent.razor
@@ -1,11 +1,11 @@
@inherits FilesBlockComponent
-@if (ListOptions.Storage is not null)
+@if (Options.Storage is not null)
{
diff --git a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntGalleryBlockComponent.razor b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntGalleryBlockComponent.razor
index 2a829b8..90204ff 100644
--- a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntGalleryBlockComponent.razor
+++ b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntGalleryBlockComponent.razor
@@ -1,5 +1,5 @@
@inherits GalleryBlockComponent
-@if (ListOptions.Storage is not null)
+@if (Options.Storage is not null)
{
if (Block.Pictures.Any())
{
@@ -10,7 +10,7 @@
@foreach (var image in Block.Pictures)
{
-
+
}
@@ -20,7 +20,7 @@
{
var image = Block.Pictures.First();
-
+
}
}
diff --git a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntQuoteBlockComponent.razor b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntQuoteBlockComponent.razor
index c5fd6c5..8729a6a 100644
--- a/src/Sitko.Blockly.AntDesign/Display/Blocks/AntQuoteBlockComponent.razor
+++ b/src/Sitko.Blockly.AntDesign/Display/Blocks/AntQuoteBlockComponent.razor
@@ -4,15 +4,15 @@
@((MarkupString) Block.Text)