switching to textAngular. medium-editor provides horrible api