I'll grant that this API likely won't have a lot of consumers, but it seems like any consumer of this API would want this performance improvement, unless there are likely different approaches that would be used to hide and show the editor or different desired timings...

I don't know how others would use the `createInlineEditorForDocument` API, but it does seem likely that someone would call it without hiding the container first.