Skip to content

Fixed a few assets paths issues for monaco-editor#655

Merged
david-poindexter merged 2 commits intoDNNCommunity:release/0.16.0from
valadas:monaco-fixes
Dec 4, 2022
Merged

Fixed a few assets paths issues for monaco-editor#655
david-poindexter merged 2 commits intoDNNCommunity:release/0.16.0from
valadas:monaco-fixes

Conversation

@valadas
Copy link
Copy Markdown
Member

@valadas valadas commented Dec 4, 2022

This copies some assets needed on the page level and loads them in the page head if the editor is used on the page.

The monaco css also requires a font and it is expected to live in a very specific relative path so files need to be manually copied into specific folders.

It also looks like a full build was not run before the beta release, so some docs were not auto-generated on other components earlier.

Also I added a new method to allow consumers to change the code content after the component is already loaded.

This copies some assets needed on the page level and loads them in the page head if the editor is used on the page.

The monaco css also requires a font and it is expected to live in a very specific relative path so files need to be manually copied into specific folders.

It also looks like a full build was not run before the beta release, so some docs were not auto-generated on other components earlier.

Also I added a new method to allow consumers to change the code content after the component is already loaded.
@valadas valadas added this to the 0.16.0 milestone Dec 4, 2022
Copy link
Copy Markdown
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

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

Awesomeness @valadas 🎉

@david-poindexter david-poindexter added the bug Something isn't working label Dec 4, 2022
@david-poindexter david-poindexter merged commit 464c223 into DNNCommunity:release/0.16.0 Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants