mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-25 18:22:55 +00:00
The type for toolbar is currently defined as `string | (string[])[]`,
but it should be `string | (string | string[])[]`.
The `toolbar` property is either:
* a toolbar name (`string`)
* or an array of elements, that can be `string`s (for instance a newline
marker `'/'`) or `string[]`s (for instance a list of buttons).
For example, this is a valid configuration:
```js
CKEDITOR.config.toolbar = [
[ 'mode', 'document', 'doctools' ],
[ 'clipboard', 'undo' ],
'/',
[ 'find', 'selection', 'spellchecker' ],
[ 'basicstyles', 'cleanup' ],
'/',
[ 'list', 'indent', 'blocks', 'align', 'bidi' ],
];
```
|
||
|---|---|---|
| .. | ||
| ckeditor-tests.ts | ||
| ckeditor.d.ts | ||