Add data binding between text editor and preview, styles updated.