decode editor before initeditor