add richtext edit js and a demo in test.html