Skip to content

Commit

Permalink
DocGen 24_1 result
Browse files Browse the repository at this point in the history
  • Loading branch information
dxrobot committed Jan 6, 2025
1 parent 100f283 commit ab277aa
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ A zero-based index at which to begin deleting.

##### param(length): Number
The length of the content to be deleted.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

---
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: dxHtmlEditor.format(formatName, formatValue)
---
---
##### shortDescription
Applies a format to the selected content. Cannot be used with [embedded formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').
Applies a format to the selected content. Cannot be used with [embedded formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').

##### param(formatName): Enums.HtmlEditorFormat | String
<!-- %param(formatName)% -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ id: dxHtmlEditor.formatLine(index, length, formatName, formatValue)
---
---
##### shortDescription
Applies a single [block format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all lines in the given range.
Applies a single [block format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all lines in the given range.

##### param(index): Number
A zero-based index at which to begin formatting.

##### param(length): Number
The length of the content to be formatted.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

##### param(formatName): Enums.HtmlEditorFormat | String
A [format name](/api-reference/_hidden/dxHtmlEditorToolbarItem/name.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/toolbar/items/#name').
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: dxHtmlEditor.formatLine(index, length, formats)
---
---
##### shortDescription
Applies several [block formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all lines in the given range.
Applies several [block formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all lines in the given range.

##### param(index): Number
<!-- %param(index)% -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: dxHtmlEditor.formatText(index, length, formatName, formatValue)
---
---
##### shortDescription
Applies a single [text format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all characters in the given range.
Applies a single [text format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all characters in the given range.

##### param(index): Number
<!-- %param(index)% -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: dxHtmlEditor.formatText(index, length, formats)
---
---
##### shortDescription
Applies several [text formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all characters in the given range.
Applies several [text formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') to all characters in the given range.

##### param(index): Number
<!-- %param(index)% -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can perform the following tasks after getting a format, module, or Parchment
You can change the markup tag associated with the format and allowed format values, as shown in the code example after this list.

- **<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/extends" target="_blank">Extend</a> the format or module**
You can extend HtmlEditor's <a href="https://github.com/DevExpress/DevExtreme/tree/24_1/packages/devextreme/js/__internal/ui/html_editor/formats" target="_blank">formats</a> and <a href="https://github.com/DevExpress/DevExtreme/tree/24_1/packages/devextreme/js/__internal/ui/html_editor/modules" target="_blank">modules</a>, and also the DevExtreme Quill's <a href="https://github.com/DevExpress/devextreme-quill/tree/master/formats" target="_blank">formats</a> and <a href="https://github.com/DevExpress/devextreme-quill/tree/master/modules" target="_blank">modules</a>. See the [Extend Built-In Formats and Modules](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/33%20Customize%20Built-In%20Formats%20and%20Modules/20%20Extend.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Customize_Built-In_Formats_and_Modules/Extend') topic for the code example.
You can extend HtmlEditor's <a href="https://github.com/DevExpress/DevExtreme/tree/24_1/packages/devextreme/js/__internal/ui/html_editor/formats" target="_blank">formats</a> and <a href="https://github.com/DevExpress/DevExtreme/tree/24_1/packages/devextreme/js/__internal/ui/html_editor/modules" target="_blank">modules</a>, and also the DevExtreme Quill's <a href="https://github.com/DevExpress/devextreme-quill/tree/master/formats" target="_blank">formats</a> and <a href="https://github.com/DevExpress/devextreme-quill/tree/master/modules" target="_blank">modules</a>. See the [Extend Built-In Formats and Modules](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/60%20Customize%20Built-In%20Formats%20and%20Modules/20%20Extend.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Customize_Built-In_Formats_and_Modules/Extend') topic for the code example.

- **Create a custom format based on the Parchment**
Refer to the <a href="https://github.com/quilljs/parchment/blob/master/README.md" target="_blank">Parchment documentation</a> for more information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ A zero-based index indicating the range's start.

##### param(length): Number
The range's length.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

---
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Gets the entire content's length.
The content's length.

---
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

[note] Even if the HtmlEditor is empty, this method returns 1, because the UI component always contains an empty line ("\n").
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The selected content's range. It has the following structure:
A zero-based index at which the selection starts.
- **length**
The selected content's length.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

##### param(focus): Boolean | undefined
Pass **true** to focus the content field before getting the selected range. Otherwise, the method returns **null** if the content field doesn't have focus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Inserts an embedded content at the specified position.
A zero-based index at which to insert an embedded content.

##### param(type): String
An embedded format's [name](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').
An embedded format's [name](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').

##### param(config): any
An embedded format's [value](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').
An embedded format's [value](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').

---
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: dxHtmlEditor.insertText(index, text, formats)
---
---
##### shortDescription
Inserts formatted text at the specified position. Used with all formats except [embedded](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').
Inserts formatted text at the specified position. Used with all formats except [embedded](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/').

##### param(index): Number
A zero-based index at which to insert text.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ A zero-based index at which to begin removing.

##### param(length): Number
The length of the content to be removed.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

---
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ A zero-based index at which to begin selecting.

##### param(length): Number
The length of the content to be selected.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.
[Embedded items](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') have a length of 1.

---
2 changes: 1 addition & 1 deletion api-reference/_hidden/dxHtmlEditorToolbarItem/name.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ In the following code, the `header` and `size` formats are configured as describ

---

Refer to the [Formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') article for a full list of available formats.
Refer to the [Formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') article for a full list of available formats.

#####See Also#####
- [widget](/api-reference/_hidden/dxHtmlEditorToolbarItem/widget.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/toolbar/items/#widget')
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
1. [Toolbar](/concepts/05%20UI%20Components/HtmlEditor/20%20Toolbar/00%20Predefined%20Items '/Documentation/Guide/UI_Components/HtmlEditor/Toolbar/Predefined_Items/')
2. [Image upload](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/imageUpload '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/imageUpload/')
3. [Tags and attributes](/concepts/05%20UI%20Components/HtmlEditor/05%20Tags%20and%20Attributes.md '/Documentation/Guide/UI_Components/HtmlEditor/Tags_and_Attributes/')
4. [Table formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/')
4. [Table formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/')
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- [**Inline Formats**](/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Inline_Or_Text_Formats)
- [**Inline Formats**](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/05%20Inline%20(Or%20Text)%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Inline_Or_Text_Formats')
HTML Editor includes various inline formatting options:
- **Bold**, *italic*, <s>strikethrough</s>, and <u>underscore</u>
- Typeface, font size, and text color (HTML)

- [**Block Formats**](/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Block_Formats)
- [**Block Formats**](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/10%20Block%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Block_Formats')
HTML Editor supports block formatting such as:
- Headers
- Lists (ordered and unordered)
Expand All @@ -20,7 +20,7 @@ Images [can be uploaded](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Co
Users can [insert and modify tables](/concepts/05%20UI%20Components/HtmlEditor/00%20Getting%20Started%20with%20HtmlEditor/30%20Work%20with%20Tables.md '/Documentation/Guide/UI_Components/HtmlEditor/Getting_Started_with_HtmlEditor/#Work_with_Tables') with built-in UI elements. You can allow users to [resize tables](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/tableResizing.md '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/tableResizing/').

- **Built-in Format Customization**
You can [modify the existing formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/33%20Customize%20Built-In%20Formats%20and%20Modules '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Customize_Built-In_Formats_and_Modules') to fit specific requirements.
You can [modify the existing formats](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/60%20Customize%20Built-In%20Formats%20and%20Modules '/Documentation/Guide/UI_Components/HtmlEditor/Formats/#Customize_Built-In_Formats_and_Modules') to fit specific requirements.

- **HTML and Markdown Support**
HTML Editor [outputs content](/concepts/05%20UI%20Components/HtmlEditor/00%20Getting%20Started%20with%20HtmlEditor/10%20Set%20the%20Output%20Markup%20Language.md '/Documentation/Guide/UI_Components/HtmlEditor/Getting_Started_with_HtmlEditor/#Set_the_Output_Markup_Language') both in HTML and Markdown.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The extend operation is available for <a href="https://quilljs.com/guides/how-to-customize-quill/#customizing-blots" target="_blank">blots</a> only. For <a href="https://quilljs.com/guides/how-to-customize-quill/#customizing-attributors" target="_blank">attributors</a>, use the modify operation.

The [format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') tables include customization operations.
The [format](/concepts/05%20UI%20Components/HtmlEditor/10%20Formats/00%20Formats.md '/Documentation/Guide/UI_Components/HtmlEditor/Formats/') tables include customization operations.

0 comments on commit ab277aa

Please sign in to comment.