I trying to use SCEditor in an array. It is functional when first loaded but when I try to load a data set using setValue()the SCEditor instance freezes. I've tried targeting the specific SCEditor instance and calling setValue() on that and it fails with that as well. No error to the console.
Searching the open issues there are a few related (e.g. #217 "WYSIWYG area is rendered unusable after saving inside the "Edit JSON" pop-up"). I don't know where the problem is – in SCEditor or in json-editor.
Has anyone got any suggestions on how to resolve this?
My test schema and data set is below. The schema defines one SCEditor in an array and one not in an array. The one not in an array behaves as expected when loading data.
I trying to use SCEditor in an array. It is functional when first loaded but when I try to load a data set using
setValue()
the SCEditor instance freezes. I've tried targeting the specific SCEditor instance and callingsetValue()
on that and it fails with that as well. No error to the console.Searching the open issues there are a few related (e.g. #217 "WYSIWYG area is rendered unusable after saving inside the "Edit JSON" pop-up"). I don't know where the problem is – in SCEditor or in json-editor.
Has anyone got any suggestions on how to resolve this?
My test schema and data set is below. The schema defines one SCEditor in an array and one not in an array. The one not in an array behaves as expected when loading data.
Schema
Test data