Skip to content

Update editor.js to allow for user-specified ID for editor embedding#49

Merged
terryzfeng merged 2 commits into
ccrma:mainfrom
Kizjkre:main
Jan 17, 2026
Merged

Update editor.js to allow for user-specified ID for editor embedding#49
terryzfeng merged 2 commits into
ccrma:mainfrom
Kizjkre:main

Conversation

@Kizjkre

@Kizjkre Kizjkre commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

The editor script only allows the Ace editor to be loaded in a div with id "editor." The function newChuckEditor does have a divId parameter, so using that instead. This also allows for multiple editors to be instantiated on the same page.

@terryzfeng

Copy link
Copy Markdown
Member

LGTM! Apologies for not seeing this sooner lol

@terryzfeng terryzfeng merged commit 44f7b66 into ccrma:main Jan 17, 2026
1 check passed
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