Open Cathbar2 opened 9 years ago
@bcopy : json editor wisywyg issue
I've noticed a similar issue in that, while the following will work in wysiwyg.html
(placed immediately after setting up the editor):
editor.setValue({
title: "Blog Post2",
body: "<b>hello</b>"
});
...this will not work (the callback will be executed, but the value setting will cause problems similar to those in the OP--though for me, it is not merely read-only, but I can't see nor manually change any value at all):
editor.on('ready', function () {
editor.setValue({
title: "Blog Post2",
body: "<b>hello</b>"
});
});
I haven't been able to figure out what problem the delay is causing.
Hello,
If we use https://github.com/jdorn/json-editor/blob/master/examples/wysiwyg.html
and try and change the example to set a JSON value containing HTML, the JSON editor's HTML field freezes and becomes read-only.
We have also tried setting the individual field editor, but it only allows to set the value once (the second click on the button is ignored by JSON editor )