Live contenteditable rich text expander