You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/editor/built-in-tools.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -420,9 +420,9 @@ There are commands without built-in tools, but can be [executed programmatically
420
420
<td>Insert HTML</td>
421
421
<td>insertHTML</td>
422
422
<td>N/A</td>
423
-
<td>Insert HTML to the Editor component content area at the cursor position. <br />NOTE: this is a block command, so if you pass an inline element to it, it will be wrapped in a block element such as <code>p</code> or <code>div</code>, depending on the context. There are specific commands for creating links and images (two common inline elements).</td>
423
+
<td>Inserts HTML at the cursor position. To insert multiple nodes, wrap them in a single element.<br />By default this is a block command that will wrap passed inline content in a <code>p</code> or <code>div</code>, depending on the context. To insert inline content, set the third argument to <code>true</code>. There are separate commands for inserting links and images.</td>
await TheEditor.ExecuteAsync(new ImageCommandArgs("https://demos.telerik.com/blazor-ui/images/articles/1-220x140.png", "the alt text", "220px", "140px"));
0 commit comments