Added some headers in examples
This commit is contained in:
parent
8f6ddf91bc
commit
f2f1636ef0
|
@ -28,6 +28,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h1>Switch mode</h1>
|
||||||
<p>
|
<p>
|
||||||
Switch editor mode using the mode box.
|
Switch editor mode using the mode box.
|
||||||
Note that the mode can be changed programmatically as well using the method
|
Note that the mode can be changed programmatically as well using the method
|
||||||
|
|
|
@ -7,11 +7,12 @@
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#jsoneditor {
|
#jsoneditor {
|
||||||
width: 500px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<h1>Read-only properties and values</h1>
|
||||||
<p>
|
<p>
|
||||||
In this example:
|
In this example:
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h1>Custom styling</h1>
|
||||||
<p>
|
<p>
|
||||||
This example demonstrates how to customize the look of JSONEditor,
|
This example demonstrates how to customize the look of JSONEditor,
|
||||||
the editor below has a dark theme. Note that the example isn't worked
|
the editor below has a dark theme. Note that the example isn't worked
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h1>Custom Ace Editor</h1>
|
||||||
<p>
|
<p>
|
||||||
In this example, the we use the minimalist version of jsoneditor and load
|
In this example, the we use the minimalist version of jsoneditor and load
|
||||||
and configure Ace editor our selves.
|
and configure Ace editor our selves.
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h1>Synchronize two editors</h1>
|
||||||
<p>
|
<p>
|
||||||
This example demonstrates how to keep two editors synchronized by listening for
|
This example demonstrates how to keep two editors synchronized by listening for
|
||||||
the onChange event.
|
the onChange event.
|
||||||
|
|
Loading…
Reference in New Issue