How to use MonacoEditorProvider.createInline() method?

Hi guys,in my custom editor when I call const editor = await this.editorProvider.(new URI(filePath)) ,then I can get the value in the file;but if I use const editor = await this.editorProvider.createInline(new URI(filePath),myHTMLElement);the value is empty! why? const value = editor.getControl().getModel()?.getValue(); waiting for help