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

Allow custom js at runtime #1226

Open
skamensky opened this issue May 24, 2023 · 1 comment
Open

Allow custom js at runtime #1226

skamensky opened this issue May 24, 2023 · 1 comment

Comments

@skamensky
Copy link
Contributor

see

https://github.com/orgs/cortezaproject/discussions/808

A lot of ideas and discussions are around the UI and potential improvements to it.

I think it could be a good idea to allow users to add an "include" to a js source file (or a raw source string) as an escape hatch for advanced users.

For example, if I want to add a hotkey so when users press ctrl+s it saves the page, I don't have to wait for corteza to add it (if they decide to add it), and I also don't need to clone the whole front-end and take it on as a maintenance burden for that small change.

The approach suggested in #1224 where there's a "FE Textarea in Admin/UI" seems like a nice and basic way to start.

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant