Skip to content

Commit 943f1d7

Browse files
Merge pull request #99 from DHTMLX/sp-SVAR-2712
[add] editorShape.modalSection parameter docs
2 parents 6b9c1cc + 3be549b commit 943f1d7

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

docs/api/config/js_kanban_editorshape_config.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ editorShape?: [
1919
type: string,
2020
key: string,
2121
label?: string,
22+
modalSection?: "left" | "right",
2223

2324
// for the "dateRange" type only
2425
key: {
@@ -182,6 +183,9 @@ In the Kanban editor you can use the following types of fields: **dateRange**, *
182183
~~~
183184

184185
- `label` - (optional) an editor field label
186+
- `modalSection` - (optional) defines in which column of the modal editor the field is placed. Applied only when the editor is shown as a modal window via the [`editor.placement: "modal"`](api/config/js_kanban_editor_config.md) property. The possible values are:
187+
- `"left"` - the field is placed in the left column
188+
- `"right"` - the field is placed in the right column (default)
185189

186190
#### - Parameters for a "dateRange" type
187191

@@ -466,6 +470,7 @@ new kanban.Kanban("#root", {
466470

467471
- The ***dateRange*** type was added in v1.3
468472
- The ***comments*** and ***links*** types of editor, and ***format*** parameters were added in v1.4
473+
- The ***modalSection*** parameter was added in v1.6
469474
- The ***clearButton*** parameter was replaced with the ***clear*** parameter
470475

471476
**Related articles:** [Configuration](guides/configuration.md/#editor)

docs/news/whats_new.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Released on November 13, 2024
169169
- The [`cardShape`](api/config/js_kanban_cardshape_config.md) property is extended by the ***users.maxCount*** and ***votes.clickable*** parameters
170170
- The [`columnShape`](api/config/js_kanban_columnshape_config.md) property is extended by the ***headerTemplate*** and ***collapsedTemplate*** parameters
171171
- The [`editor`](api/config/js_kanban_editor_config.md) property is extended by the ***placement*** parameter
172+
- The [`editorShape`](api/config/js_kanban_editorshape_config.md) property is extended by the ***modalSection*** parameter
172173
- The [`items`](api/config/toolbar_items_config.md) property of the Toolbar **search** control is extended by the ***resultTemplate*** parameter
173174

174175
- #### Events

0 commit comments

Comments
 (0)