inlineeditor sample code to start with