Add isLoaded check to RichText#getValue to avoid errors when the iframe has not yet loaded.
Fixes #15134.