the document field is not used
Set keymap from preference on editor widget creation