fix: RichText field do not need to set widget
fix: event invariant