mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Added comments to editor preview
This commit is contained in:
parent
d5375d914d
commit
17883e8d01
2 changed files with 8 additions and 6 deletions
|
@ -10,13 +10,14 @@ define([
|
|||
var $helpPopup = $("#help_popup");
|
||||
|
||||
var html = [
|
||||
'<div id="help_example_editor">PUT index/type/1',
|
||||
'<div id="help_example_editor"># index a doc',
|
||||
'PUT index/type/1',
|
||||
'{',
|
||||
' "body": "here"',
|
||||
'}',
|
||||
'',
|
||||
'GET index/type/1',
|
||||
'</div>'
|
||||
'# and get it ... ',
|
||||
'GET index/type/1</div>'
|
||||
].join('\n');
|
||||
|
||||
$helpPopup.on('shown', function () {
|
||||
|
|
|
@ -11,13 +11,14 @@ define([
|
|||
|
||||
var $example;
|
||||
var html = [
|
||||
'<div id="welcome_example_editor">PUT index/type/1',
|
||||
'<div id="welcome_example_editor"># index a doc',
|
||||
'PUT index/type/1',
|
||||
'{',
|
||||
' "body": "here"',
|
||||
'}',
|
||||
'',
|
||||
'GET index/type/1',
|
||||
'</div>'
|
||||
'# and get it ... ',
|
||||
'GET index/type/1</div>'
|
||||
].join('\n');
|
||||
|
||||
$welcomePopup.modal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue