Filter files within richtext editors