@json-editor/json-editor 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +27 -0
- package/dist/jsoneditor.js +2 -2
- package/dist/nonmin/jsoneditor.js +63 -58
- package/dist/nonmin/jsoneditor.js.map +1 -1
- package/docs/cleave.html +1 -1
- package/docs/datetime.html +1 -1
- package/docs/describedby.html +1 -1
- package/docs/index.html +2 -2
- package/docs/materialize_css.html +1 -1
- package/docs/radio.html +1 -1
- package/docs/select2.html +1 -1
- package/docs/selectize.html +1 -1
- package/docs/starrating.html +1 -1
- package/docs/wysiwyg.html +1 -1
- package/package.json +1 -1
- package/src/editor.js +1 -1
- package/src/editors/object.js +3 -4
- package/tests/codeceptjs/editors/object_test.js +29 -9
- package/tests/pages/object-with-dependencies-array.html +29 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
### Unreleased
|
|
2
2
|
|
|
3
|
+
### 2.6.1
|
|
4
|
+
|
|
5
|
+
- Fix for #900 to close the properties modal when we click outside modal
|
|
6
|
+
- fix: Rework use of event.path to prevent a ReferenceError in Safari
|
|
7
|
+
- Fix for dependencies when dependency is an array
|
|
8
|
+
|
|
3
9
|
### 2.6.0
|
|
4
10
|
|
|
5
11
|
- set show_opt_in per object editor
|
package/README.md
CHANGED
|
@@ -752,6 +752,33 @@ __SimpleMDE__ is a simple Markdown editor with live preview. To use it, set the
|
|
|
752
752
|
}
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
+
To customize the editor, add the [configuration](https://github.com/sparksuite/simplemde-markdown-editor#configuration) in the `simplemde` option:
|
|
756
|
+
|
|
757
|
+
```json
|
|
758
|
+
{
|
|
759
|
+
"type": "string",
|
|
760
|
+
"format": "markdown",
|
|
761
|
+
"options": {
|
|
762
|
+
"simplemde": {
|
|
763
|
+
"toolbar": [
|
|
764
|
+
"bold",
|
|
765
|
+
"italic",
|
|
766
|
+
"heading",
|
|
767
|
+
"|",
|
|
768
|
+
"link",
|
|
769
|
+
"quote",
|
|
770
|
+
"|",
|
|
771
|
+
"preview",
|
|
772
|
+
"fullscreen",
|
|
773
|
+
"guide"
|
|
774
|
+
],
|
|
775
|
+
"spellChecker": false
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
```
|
|
780
|
+
|
|
781
|
+
|
|
755
782
|
__Ace Editor__ is a syntax highlighting source code editor. You can use it by setting the format to any of the following:
|
|
756
783
|
|
|
757
784
|
* actionscript
|