a simple rich editor demo