Renderering of embedded assets in richeditor context