@@ -47,7 +47,7 @@ The following example demonstrates how to customize the Slash Command menu.
4747@using Syncfusion.Blazor.BlockEditor;
4848
4949<div id="container">
50- <SfBlockEditor ID="blockeditor" Blocks="@BlocksData">
50+ <SfBlockEditor Blocks="@BlocksData">
5151 <BlockEditorCommandMenu PopupHeight="400px" PopupWidth="350px" Commands="@Commands" ItemSelect="@ItemSelect" Filtering="@Filtering"></BlockEditorCommandMenu>
5252 </SfBlockEditor>
5353</div>
@@ -57,7 +57,6 @@ The following example demonstrates how to customize the Slash Command menu.
5757 new BlockModel
5858 {
5959 BlockType = BlockType.Paragraph,
60- ID = "demo-block",
6160 Content = new List<ContentModel>
6261 {
6362 new ContentModel
@@ -135,7 +134,7 @@ The following example demonstrates how to customize the Context menu.
135134@using Syncfusion.Blazor.BlockEditor;
136135
137136<div id="container">
138- <SfBlockEditor ID="blockeditor" Blocks="@BlocksData">
137+ <SfBlockEditor Blocks="@BlocksData">
139138 <BlockEditorContextMenu Enable=true ShowItemOnClick=true Items="@CustomContextMenuItems" ItemSelect="@ItemSelect" Opening="@Opening" Closing="@Closing"></BlockEditorContextMenu>
140139 </SfBlockEditor>
141140</div>
@@ -145,7 +144,6 @@ The following example demonstrates how to customize the Context menu.
145144 new BlockModel
146145 {
147146 BlockType = BlockType.Heading,
148- ID = "title-block",
149147 Properties = new HeadingBlockSettings { Level = 1 },
150148 Content = new List<ContentModel>
151149 {
@@ -159,7 +157,6 @@ The following example demonstrates how to customize the Context menu.
159157 new BlockModel
160158 {
161159 BlockType = BlockType.Quote,
162- ID = "intro-block",
163160 Content = new List<ContentModel>
164161 {
165162 new ContentModel
@@ -262,7 +259,7 @@ The following example demonstrates how to customize the Block action menu.
262259@using Syncfusion.Blazor.BlockEditor;
263260
264261<div id="container">
265- <SfBlockEditor ID="blockeditor" Blocks="@BlocksData">
262+ <SfBlockEditor Blocks="@BlocksData">
266263 <BlockEditorActionMenu Enable=true PopupWidth="180px" PopupHeight="110px" EnableTooltip=true Items="@BlockActionMenuItems" ItemSelect="@ItemSelect" Opening="@Opening" Closing="@Closing"></BlockEditorActionMenu>
267264 </SfBlockEditor>
268265</div>
@@ -272,7 +269,6 @@ The following example demonstrates how to customize the Block action menu.
272269 new BlockModel
273270 {
274271 BlockType = BlockType.Heading,
275- ID = "title-block",
276272 Properties = new HeadingBlockSettings { Level = 1 },
277273 Content = new List<ContentModel>
278274 {
@@ -286,7 +282,6 @@ The following example demonstrates how to customize the Block action menu.
286282 new BlockModel
287283 {
288284 BlockType = BlockType.Quote,
289- ID = "intro-block",
290285 Content = new List<ContentModel>
291286 {
292287 new ContentModel
@@ -374,7 +369,7 @@ The following example demonstrates how to customize the Inline Toolbar.
374369@using Syncfusion.Blazor.BlockEditor;
375370
376371<div id="container">
377- <SfBlockEditor ID="blockeditor" Blocks="@BlocksData">
372+ <SfBlockEditor Blocks="@BlocksData">
378373 <BlockEditorInlineToolbar Enable=true PopupWidth="100px" Items="@CustomToolbarItems" ItemClick="@ItemClick"></BlockEditorInlineToolbar>
379374 </SfBlockEditor>
380375</div>
@@ -384,7 +379,6 @@ The following example demonstrates how to customize the Inline Toolbar.
384379 new BlockModel
385380 {
386381 BlockType = BlockType.Heading,
387- ID = "title-block",
388382 Properties = new HeadingBlockSettings { Level = 1 },
389383 Content = new List<ContentModel>
390384 {
@@ -398,7 +392,6 @@ The following example demonstrates how to customize the Inline Toolbar.
398392 new BlockModel
399393 {
400394 BlockType = BlockType.Quote,
401- ID = "intro-block",
402395 Content = new List<ContentModel>
403396 {
404397 new ContentModel
0 commit comments