I use the Ace editor, but I do not use JavaScript much, so itβs hard for me to get it working without the proper documentation.
I am working on a local PHP file editor. Therefore, open files, etc. work great, setcontent works like a charm. But now I want to save the editor information back to the file.
Not in itself a problem. But how can I get the var code. If I use document.write, it will not show the current information in the editor
If I could print what is in the editor, I could save the data. But I don't know how to provide a valid callback for getValue
Can someone please give me a little more information on what to do?
javascript editor ace-editor
daviddhont
source share