add base to rich editor