use medium.js

Use medium.js for more flexibility than contenteditable