When I try to change the content of the text that I add on the slider(default is "Your text"), and save the changes, an error appears when I try to save it. It says: "Cannot read property 'getContent' of null " and it points to this code: "$object.html(tinymce.get('editor').getContent());"
so tinymce.get('editor') returns NULL, but there is a textarea with the id of 'editor'.
When I try to change the content of the text that I add on the slider(default is "Your text"), and save the changes, an error appears when I try to save it. It says: "Cannot read property 'getContent' of null " and it points to this code: "$object.html(tinymce.get('editor').getContent());"
so tinymce.get('editor') returns NULL, but there is a textarea with the id of 'editor'.