fix custom editor loading

Custom editors can also be loaded when not a section is given. For
example this happens on a preview click where the page is already
separated into pre, suf and text.