Hello,
any example how to use setConfig?
Following causes js exception: (SyntaxError) : Unexpected token s in JSON at position 1
setConfig("{selector: 'textarea', toolbar: 'undo redo bold italic'}")
Hello,
any example how to use setConfig?
Following causes js exception: (SyntaxError) : Unexpected token s in JSON at position 1
setConfig("{selector: 'textarea', toolbar: 'undo redo bold italic'}")
ok, everything should be in quotes
tinyResultText.setConfig("{ \"selector\": \"textarea\", \"toolbar\": \"undo redo bold italic\"}");
\u0000Yep, JSON, not JS. It probably limits some configuration, but it is safer. Don’t remember if in was JS in the Vaadin 7/8 version \uD83E\uDD14