Add isLoaded check to RichText#getValue to avoid errors when the iframe has not yet loaded.
Fixes #15134.
Fix alignment of right aligned dropdowns, fixes #17744