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

Custom Javascript on Wiki pages #335

Open
upcc-jesse opened this issue Feb 7, 2025 · 0 comments
Open

Custom Javascript on Wiki pages #335

upcc-jesse opened this issue Feb 7, 2025 · 0 comments

Comments

@upcc-jesse
Copy link

I would like to have a custom script run on each page. The goal of the script is to read the content of the page, identify certain keywords, and apply formatting to those keywords.

I've already written the script and tested it locally. Aside from editing the source code of the Wiki module, is there a way that I can add this script to each page globally? Something like the built-in Client Script DocType in Frappe, but for Wiki pages.

ERPNext: v15.41.1 (version-15)

Frappe Framework: v15.47.1 (version-15)

Wiki: v2.0.0 (master)

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

No branches or pull requests

1 participant