feature(editor): add text-editor directive

use medium-editor for text editing

SD-409
fix(build): make build work with non-requirejs modules
Fix planning item preview styles
Text editor style fixed