OnClick Removed from Tags #5089
Unanswered
sapiennervosa
asked this question in
Error / Bug Report
Replies: 2 comments 3 replies
-
same here |
Beta Was this translation helpful? Give feedback.
3 replies
-
I know my response is a little late on this topic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to develop embedded tools in my wiki pages using JS but it seems that whenever I create a button with an 'onclick' property it gets stripped out when the page is rendered.
For example, this line in the editor:
Test OnClick
Is rendered in the browser as this:
Test OnClick
Is the cause of this some sort of sanitizing that occurs during rendering? If so, it greatly diminishes the usefulness of scripts. Is it possible to disable this behavior?
Wiki.js 2.5.274
Debian 11
Beta Was this translation helpful? Give feedback.
All reactions