Setting rich text component pattern match to content level