- | PC |
- Mac |
+ PC |
+ Mac |
Action |
@@ -50,25 +50,45 @@ A user can use the following keys to interact with the HTML Editor component:
| Insert a line break (in the same paragraph) |
- | Tab |
- Nest current list item (when in a list) |
+ Tab |
+
+
+ - Indent list items
+ - Focus the next cell in tables
+ - Focus the next focusable element on the page. If
keyboard.inlineTabInsertion is enabled, insert a tab character (\t) in text.
+
+ |
+
+
+ | Shift + Tab |
+
+
+ - Dedent list items
+ - Focus the previous cell in tables
+ -
+ Focus one of the following elements:
+
+ - The previous focusable element on the page
+ - The HTML Editor toolbar (if configured)
+
+ If text contains tab characters (\t) and keyboard.inlineTabInsertion is enabled, remove a tab character from text.
+
+
+ |
- | Increase indentation (when at the start of a paragraph) |
-
-
- | Move the cursor to the next table cell |
+ Arrow Keys |
+ Navigate through the table |
- | Shift + Tab |
- Move the cursor to the previous table cell |
+ Ctrl + Shift + Up Arrow |
+ ⌘ + Shift + Up Arrow |
+ Focus the previous focusable element on the page or the HTML Editor toolbar (if configured) |
- | Decrease indentation (when at the start of a paragraph) |
-
-
- | Arrow Keys |
- Navigate through the table |
+ Ctrl + Shift + Down Arrow |
+ ⌘ + Shift + Down Arrow |
+ Focus the next focusable element on the page |
| Enter |
@@ -84,4 +104,72 @@ A user can use the following keys to interact with the HTML Editor component:
+Configure [customizeModules](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#customizeModules) to toggle `keyboard.inlineTabInsertion`:
+
+---
+
+##### jQuery
+
+
+ $("#html-editor").dxHtmlEditor({
+ customizeModules(config) {
+ config.keyboard.inlineTabInsertion = true;
+ }
+ });
+
+##### Angular
+
+
+
+
+
+
+ import { Component } from '@angular/core';
+ import { DxHtmlEditorModule } from 'devextreme-angular/ui/html-editor';
+
+ // ...
+ export class AppComponent {
+ customizeQuillModules(config) {
+ config.keyboard.inlineTabInsertion = true;
+ }
+ }
+
+##### Vue
+
+
+
+
+
+
+
+
+##### React
+
+
+ import React, { useCallback } from 'react';
+ import { HtmlEditor } from 'devextreme-react/html-editor';
+
+ export default function App() {
+ const customizeQuillModules = useCallback((config) => {
+ config.keyboard.inlineTabInsertion = true;
+ }, []);
+
+ return (
+
+ );
+ }
+
+---
+
#include common-code-register-key-handler
\ No newline at end of file