Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selectively import ace editor. #765

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Selectively import ace editor. #765

merged 1 commit into from
Nov 1, 2023

Conversation

justinlittman
Copy link
Contributor

refs #757

The motivation is to avoid loading ace editor on every page to improve performance.

No ace.js:
image

Ace.js loaded:
image

@jcoyne jcoyne merged commit c4934b6 into main Nov 1, 2023
@jcoyne jcoyne deleted the selective_import branch November 1, 2023 17:05
dgcliff added a commit to NEU-Libraries/cerberus that referenced this pull request Feb 15, 2024
…sul-dlss/purl#765 - Use stimilus to activate the editor on connect() with a data-controller. This allows us to appropiately use ImportMap, ditch public/ace, and have everything work with turbo with no need for a hard load.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants