I'm using the Kendo UI Web Editor to allow the user to add formatted content.
I then save this content to a MySQL database.
What is the correct way to load such content to the editor again to allow for further editing?
I tried
and
Where $html is the string with the HTML from the MySQL-database. However this causes the editor to be blank (no content) and for the editor widget to not initialize (it is only shown as a blank textarea).
I then save this content to a MySQL database.
What is the correct way to load such content to the editor again to allow for further editing?
I tried
editor.value(
"<?=$html;?>"
);
editor.paste(
"<?=$html;?>"
);