patch plugin-editor via ajax