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
13 changes: 13 additions & 0 deletions docs/guides/diagram_editor/hot_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ In this section you will find a set of standard hotkeys you can use while creati
| `Delete` (`Del`), `Backspace` | Deletes an item(s) | `"delete"`, `"backspace"` |
| `Arrow-Left`, `Arrow-Right`, `Arrow-Up`, `Arrow-Down`| Moves the selected items | `"arrowLeft"`, `"arrowRight"`, `"arrowUp"`, `"arrowDown"` |
| `Ctrl+Mousewheel` (Win), `CMD+Mousewheel` (macOS)| Increases/decreases the scale value | (Not directly a `hotkeys` parameter key) |
| `Ctrl+Enter` (Win), `CMD+Enter` (macOS) | Opens the inline text editor for the selected element. Works as an alternative to double-clicking. Applicable only to shapes with an editable `text` property. | `"ctrl+enter"` |

## Inline text editor shortcuts

The following hotkeys are available when the [inline text editor](/guides/inline_editing/) is active. They cannot be configured via the `hotkeys` property.

| Hotkey | Description |
|--------|-------------|
| `Ctrl+Enter` (Win), `CMD+Enter` (macOS) | Opens the inline text editor for the selected element. Works as an alternative to double-clicking. Applicable only to shapes with an editable `text` property. |
| `Shift+Enter` | Inserts a line break (`\n`) while keeping the editor open. |
| `Delete` (`Del`), `Backspace` | Deletes the character at the cursor position. Does not delete the element itself. |
| `Enter` | Confirms the current text and closes the editor. Because the editor applies changes dynamically as you type, pressing Enter marks a successful completion of editing. |
| `Escape` | Discards all unsaved changes and closes the editor, restoring the element's text to the value it had before editing began. |
12 changes: 12 additions & 0 deletions docs/guides/inline_editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ const data = [
];
~~~

## Keyboard shortcuts

The inline text editor supports the following keyboard shortcuts:

| Hotkey | Description |
|--------|-------------|
| `Ctrl+Enter` (Win), `CMD+Enter` (macOS) | Opens the inline text editor for the selected element. Works as an alternative to double-clicking. Applicable only to shapes with an editable `text` property. |
| `Shift+Enter` | Inserts a line break (`\n`) while keeping the editor open. |
| `Delete` (`Del`), `Backspace` | Deletes the character at the cursor position. Does not delete the element itself. |
| `Enter` | Confirms the current text and closes the editor. Because the editor applies changes dynamically as you type, pressing Enter marks a successful completion of editing. |
| `Escape` | Discards all unsaved changes and closes the editor, restoring the element's text to the value it had before editing began. |

## API events

The library includes a set of helpful [API events](../../api/inline_editor/) which you can use to control the behavior of the editor on its opening/closing, as well as to control the process of editing the text of the items.
15 changes: 15 additions & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ description: You can learn a new information about DHTMLX JavaScript Diagram lib

If you are updating Diagram from an older version, check [Migration to Newer Version](migration.md) for details.

## Version 6.1.5

Released on June 17, 2026

### Updates

- Diagram Editor. Improved text editing experience with new keyboard shortcuts: **Ctrl+Enter** to start editing, **Shift+Enter** for new lines, **Enter** to confirm, and **Escape** to discard changes.

### Fixes

- Diagram Editor. Fixed the issue where lines passing through swimlane groups were not selectable.
- Diagram Editor. Added auto-scroll functionality when dragging connection lines to shapes outside the current screen view.
- Diagram Editor. Fixed the bug that caused a shape to be deleted while editing its text.
- Diagram. Fixed a Safari-specific bug where lines with the `backArrow: "filled"` property were not rendered correctly.

## Version 6.1.3

Released on May 21, 2026
Expand Down
Loading