I am trying to create a simple Macro for confluence cloud which allows the user to search a table in the page using a HTML input and some javascript.
If I create a dynamic macro I can get the HTML input to appear however the macro is loaded in an iframe so it can't search a table in the page that is outside of the iframe.
If i try the same thing with a static macro (which is not in an iframe) the HTML inputs don't seem to load. You can load other html tags but not inputs.
Does anyone know how I might be able to create a macro for confluence cloud that allows it to display inputs and search the page content based on the input value?
Hello, Samuel!
Based on the document below, you can see that custom HTML and JavaScript inside the application are restricted by default:
In my opinion, you have two alternatives here, you can either use a third-party scripting tool to create the tool, such as Tampermonkey. Or you can use the browser's search functionality by itself.
Other option, is to create a Confluence Cloud add-on that performs such functionality. You can learn more about this on the link below:
Kind regards,
Marco A. Bomfim
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.