Integrated the text editor and the date picker.

Note that the text editor can't upload media or do media embedding yet.