Answer the question
In order to leave comments, you need to log in
How to fix SirTrevor editor error?
Why is the result with json displayed in the text?
In textarea I write an example "My text"
Result
{"data":[{"type":"text","data":{"text":"
Мой текст
","format":"html"}}]}
<textarea class="js-st-instance"></textarea>
new SirTrevor.Editor({ el: $('.js-st-instance') });
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question