support _$getAreaBox for rich editor