You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/javascript/ui/editor.md
+72-4Lines changed: 72 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2432,9 +2432,9 @@ If enabled, the editor renders a resize handle to allow users to resize it.
2432
2432
});
2433
2433
</script>
2434
2434
2435
-
### resizable.min `Number`
2435
+
### resizable.min `Number|Object`
2436
2436
2437
-
The minimum height that the editor can be resized to.
2437
+
The minimum height that the editor can be resized to. If set to an object the user can restrict both min width and height values.
2438
2438
2439
2439
#### Example
2440
2440
@@ -2447,9 +2447,43 @@ The minimum height that the editor can be resized to.
2447
2447
});
2448
2448
</script>
2449
2449
2450
-
### resizable.max`Number`
2450
+
### resizable.min.minWidth`Number`
2451
2451
2452
-
The maximum height that the editor can be resized to.
2452
+
The minimum width that the editor can be resized to.
2453
+
2454
+
#### Example
2455
+
2456
+
<textarea id="editor"></textarea>
2457
+
<script>
2458
+
$("#editor").kendoEditor({
2459
+
resizable: {
2460
+
min: {
2461
+
minWidth: 500
2462
+
}
2463
+
}
2464
+
});
2465
+
</script>
2466
+
2467
+
### resizable.min.minHeight `Number`
2468
+
2469
+
The minimum height that the editor can be resized to.
2470
+
2471
+
#### Example
2472
+
2473
+
<textarea id="editor"></textarea>
2474
+
<script>
2475
+
$("#editor").kendoEditor({
2476
+
resizable: {
2477
+
min: {
2478
+
minHeight: 500
2479
+
}
2480
+
}
2481
+
});
2482
+
</script>
2483
+
2484
+
### resizable.max `Number|Object`
2485
+
2486
+
The maximum height that the editor can be resized to. If set to an object the user can restrict both max width and height values.
2453
2487
2454
2488
#### Example
2455
2489
@@ -2462,6 +2496,40 @@ The maximum height that the editor can be resized to.
2462
2496
});
2463
2497
</script>
2464
2498
2499
+
### resizable.max.maxWidth `Number`
2500
+
2501
+
The maximum width that the editor can be resized to.
2502
+
2503
+
#### Example
2504
+
2505
+
<textarea id="editor"></textarea>
2506
+
<script>
2507
+
$("#editor").kendoEditor({
2508
+
resizable: {
2509
+
max: {
2510
+
maxWidth: 500
2511
+
}
2512
+
}
2513
+
});
2514
+
</script>
2515
+
2516
+
### resizable.max.maxHeight `Number`
2517
+
2518
+
The maximum height that the editor can be resized to.
2519
+
2520
+
#### Example
2521
+
2522
+
<textarea id="editor"></textarea>
2523
+
<script>
2524
+
$("#editor").kendoEditor({
2525
+
resizable: {
2526
+
max: {
2527
+
maxHeight: 500
2528
+
}
2529
+
}
2530
+
});
2531
+
</script>
2532
+
2465
2533
### resizable.toolbar `Boolean`
2466
2534
2467
2535
If `resizable` is set to `true` the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.
0 commit comments