Ace Get Contents of Editor
editor.getValue()
Matteoweb
editor.getValue()
<div id="aceEditor" style="height: 500px; width: 500px">some text</div>