Comments (2)
Thanks @ssddanbrown,
Missed a step and was using a blade template completely unrelated.
from bookstack.
Hi @LachTrip,
You could do this via the visual theme system to just add a custom script with the required code, in a location that's loaded when the editor is.
You'd just need to ensure any script tags have a nonce attribute applied as reflected below since otherwise they'd be blocked:
<script nonce="{{ $cspNonce }}">
// JS code here
</script>
from bookstack.
Related Issues (20)
- Google SAML groups stopped syncing users HOT 6
- The IP address is incorrect if it is behind the AWS ALB (ECS Version). HOT 1
- broken db migration from 2021 HOT 1
- Search Icon in Mobile View is slightly detached HOT 1
- Code blocks for SAS and R
- test_gif_thumbnail_generation fails after release
- Ability to set a manual shelf sort order HOT 1
- Export and import from Bookstack HOT 1
- Updating from v23.10.4 to current version HOT 2
- Code blocks are automatically trimmed HOT 2
- Auth0: No valid subject value found in userinfo data HOT 2
- Allowing for a new chapter actually refers to a chapter from another book. HOT 1
- OIDC dump_user_data flag enabled returns [object] and status: 0 not rendered user data JSON HOT 3
- Not possible to assign roles to users HOT 4
- Book/chapter classes similar to tag classes HOT 1
- error 404 trying to delete a page HOT 1
- Settings Customization HOT 3
- Add a symbolic link to a page inside another book or chapter HOT 1
- See shelves in breadcrumbs ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookstack.