How do I use getvalue using Ace Editor?
问题 I am using the Ace Editor, but I do no use JavaScript a lot so I'm finding it hard to make it actually work without a proper documentation. I'm working on a local PHP file editor.. so open files etc, works fine, setcontent works like a charm. But now I want to save the editor's information back to the file. In itself not really a problem. But how do I retrieve the var code. If I use document.write it will not show the current information in the editor If I could print out what is in the