setup for richtext