DefinitelyTyped/ckeditor
Adrien Vergé 877a2af148 fix(CKEditor): Fix config.toolbar type (#11567)
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' ],
];
```
2016-10-06 23:26:24 +09:00
..
ckeditor-tests.ts fix(CKEditor): Fix config.toolbar type (#11567) 2016-10-06 23:26:24 +09:00
ckeditor.d.ts fix(CKEditor): Fix config.toolbar type (#11567) 2016-10-06 23:26:24 +09:00