erp5_core: allow to select code mirror for text and code editors