Skip to content

Commit

Permalink
HtmlEditor: add image formats + note (#5208)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaskorohodova authored Jun 19, 2023
1 parent 2ab0254 commit d4d4d40
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ Specifies how the HtmlEditor UI component uploads files.
href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/Overview/"
}

If you set **fileUploadMode** to `server` or `both`, you need to specify [uploadUrl](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/imageUpload/#uploadUrl) and [uploadDirectory](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/imageUpload/#uploadDirectory).

Refer to the [imageUpload](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/imageUpload '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/imageUpload/') topic to see an example.
47 changes: 46 additions & 1 deletion concepts/05 UI Components/HtmlEditor/10 Formats/10 Formats.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The following tables list available formats and their values grouped into four categories: inline (or text), block, embedded, and table formats.
The following tables list available formats and their values grouped into five categories: inline (or text), block, embedded, image, and table formats.

**Inline (or text) formats**

Expand Down Expand Up @@ -103,6 +103,51 @@ The following tables list available formats and their values grouped into four c
</tr>
</table>

**Image formats**

<table class="dx-table full-width">
<tr>
<th>Format Name</th>
<th>Supports Pasting into HtmlEditor</th>
<th>Supports Drag and Drop from File Explorer</th>
</tr>
<tr>
<td>*.png</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>*.jpg</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>*.gif</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>*.webp</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>*.bmp</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>*.svg</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>*.ico</td>
<td>Yes</td>
<td>No</td>
</tr>
</table>

**Table formats**

The following formats apply only to the `<table>` element:
Expand Down

0 comments on commit d4d4d40

Please sign in to comment.