Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

htmlElement is no longer part of UserConfig. Must be passed at start #51

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

kaisalmen
Copy link
Collaborator

@kaisalmen kaisalmen commented Sep 22, 2023

This is an alignment with how monaco-editor is started. The HTMLElement must now be passed at wrapper.start. It is no longer part of the UserConfig.
It also removes the need to pass the html element twice to the react component.

@kaisalmen kaisalmen changed the title WIP Direct htmlElement is preferred over user-element htmlElement is no longer part of UserConfig. Must be passed at start Sep 29, 2023
@kaisalmen kaisalmen marked this pull request as ready for review September 29, 2023 14:37
Copy link
Member

@montymxb montymxb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:octocat: approved!

@kaisalmen kaisalmen merged commit 634e51b into main Sep 29, 2023
3 checks passed
@kaisalmen kaisalmen deleted the direct-html-element branch September 29, 2023 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants