EpicEditor: update database -
On my webpage I have 3 epic editors, each in my database contains text related to an attribute of the object when I read text updates I think, local storage is updated but what I want to do to save changes in my database.
From the documentation, there is an export file:
syncWithServerBtn.onclick = function () {var theContent = editor.exportFile (); SaveToServerAjaxCall ('/ save', {data: thecontent}, function () {console.log ('Data was saved in database.');}); }
How does this work? Is there really a syndrome server? I see all the previews and fullscreen buttons are
I think this means that there should be a '/ saving' path in my thoughts. How can I use the content in this view (updated content)? No, the sync server is just an example if you had a button that he did in the example,
When you click the button you create, the editor grabs the content and then sends it to DB from a fake server. EpicEditor does nothing special for the server This example is simply showing a simple process of getting it.
Comments
Post a Comment