TISTUD-4935 Refactoring of editor.html plugin to segregate the UI and core elements.