Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions concepts/05 UI Components/HtmlEditor/05 Tags and Attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ The HTML Editor supports the following HTML tags and attributes.

[note]

When the HTML Editor loads its [value](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/value.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value'), the component merges consecutive inline tags that match and contain identical attributes:
When HTML Editor loads markup (specified in [value](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/value.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value')), the component merges the following elements:

<!-- from -->
<a href="/">Hello</a><a href="/">World</a>

<!-- to -->
<a href="/">HelloWorld</a>
- All consecutive tables.
- Consecutive inline tags that match and contain identical attributes:

To avoid this behavior, separate identical inline tags with other tags.
<!-- from -->
<a href="/">Hello</a><a href="/">World</a>

<!-- to -->
<a href="/">HelloWorld</a>

To avoid this behavior, separate these elements with tags such as `<br>`.

[/note]

Expand Down
11 changes: 8 additions & 3 deletions concepts/05 UI Components/HtmlEditor/90 Limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,28 @@ The HTML Editor is designed to create rich text and export it in HTML. You can a

- HTML Editor saves only a limited subset of [tags and attributes](/concepts/05%20UI%20Components/HtmlEditor/05%20Tags%20and%20Attributes.md '/Documentation/Guide/UI_Components/HtmlEditor/Tags_and_Attributes/'). All other formatting attributes and features are discarded.

- When the HTML Editor loads its [value](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/value.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value'), the component removes redundant tags:
- When HTML Editor loads markup (specified in [value](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/value.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value')), the component removes redundant tags:

<!-- from -->
<p><span>Hello</span><em><span>World</span></em></p>

<!-- to -->
<p>Hello<em>World</em></p>

- The component merges consecutive inline tags that match and contain identical attributes:
- The component merges the following elements:

- All consecutive tables.
- Consecutive inline tags that match and contain identical attributes:

<nbsp>

<!-- from -->
<a href="/">Hello</a><a href="/">World</a>

<!-- to -->
<a href="/">HelloWorld</a>

To avoid this behavior, separate identical inline tags with other tags.
To avoid this behavior, separate these elements with tags such as `<br>`.

- The HTML Editor trims extra space and tab characters passed to the [value](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/value.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value') option.

Expand Down
Loading