feature(editor): add text-editor directive

use medium-editor for text editing