Did further testing: When inserting json code into the sql database, the survey can be shown on a page and works fine. Editor/creator on the other hand still does throw an error.
As I just saw, with that, It throws another error. This time it is:
[Error] SyntaxError: /Inline Babel script: Unterminated string constant (70:35)
68 | });
69 | const creator = editor;
> 70 | var json = '{
| ^
71 | \"title\": \"Test\",
72 | \"description\": \"Test\",
73 | \"logoFit\": \"none\",
(anonyme Funktion) (babel.min.js:1:1621800)
(anonyme Funktion) (babel.min.js:1:1621802)
i (babel.min.js:1:1614323)
r (babel.min.js:1:2110566)
d (babel.min.js:1:2111033)
u (babel.min.js:1:2111743)
(anonyme Funktion) (babel.min.js:1:2116764)
x (babel.min.js:1:2116771)
b (babel.min.js:1:2116378)
-
This reply was modified 1 year, 11 months ago by thyrnir.