bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI
http://hallojs.org/
MIT License
2.43k stars 316 forks source link

Basic Question: How does the user save changes? #249

Open pstallard opened 7 years ago

pstallard commented 7 years ago

I'm just getting started, and I'm obviously missing something very basic here, but... I've installed all the files on my server, and I can edit the content on my test index.html page, but of course once I close and reopen the page the changes are gone. Where is the control for the user to save changes, and/or the method to enable saving of changes? Actually, if you could direct me to any very basic instructions for just installing and using hallo.js (as opposed to more advanced developing) I would greatly appreciated it!

chang-zhao commented 6 years ago

Perhaps to save changes you need to create a form submit button or a Javascript button, which would send the edited content to the server. (By AJAX for example). Then the server should save the content, for example to a database. Read some guides on how to make web applications (server - client interactions, such as PHP - Javascript).