mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Doc fix: editorController -> editor (#15625)
There is no `editorController` param in createBaseVisualization. I think `editor` was meant instead.
This commit is contained in:
parent
1c0624d3bc
commit
23e1828363
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ These can be either an AngularJS template or React component.
|
|||
title: 'My New Vis',
|
||||
icon: 'my_icon',
|
||||
description: 'Cool new chart',
|
||||
editorController: 'default',
|
||||
editor: 'default',
|
||||
editorConfig: {
|
||||
optionsTemplate: '<my-custom-options-directive></my-custom-options-directive>' // or
|
||||
optionsTemplate: MyReactComponent // or if multiple tabs are required:
|
||||
|
@ -264,7 +264,7 @@ const MyNewVisType = (Private) => {
|
|||
title: 'My New Vis',
|
||||
icon: 'my_icon',
|
||||
description: 'Cool new chart',
|
||||
editorController: MyEditorController,
|
||||
editor: MyEditorController,
|
||||
editorConfig: { my: 'custom config' }
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue