tinymce richtext assign bug fixed by waiting for richtext UI to be ready