the usecase module still provides editor helper code in edit-document.js, which is being used by kupu and bxe. this code should be removed and replaced by generic code shared among all editors, which belongs in the editors module.