Add allow_blank option for rich editor settings fields

Fixes issue #2808