<div contenteditable="true" id="editor" style="width:100%;background-color:#f0e6f3;min-height:100px;">
    {{editorContent}}
</div>
<input type="button" value="更新" ng-click="editorUpdate();" /><input type="button" value="取消" ng-click="editorCancel();" />