Fixed bug where the editor save method would remove the current selection when called on an inline editor.
Fixed documentation issue with addMenuItem.