Key Points
- plugin development should follow normal Java JSP patterns and interfaces as defined by Atlassian
- an iFrame can integrate other web apps in to a Confluence page
- a custom plugin can be added to the macro control list after it's installed
References
Reference_description_with_linked_URLs_______________________ | Notes______________________________________________________________ |
---|---|
iFrame | |
Confluence resources | |
Confluence | |
Confluence Development Guide | |
Confluence Sample Plugin | |
iframe question | |
https://community.atlassian.com/t5/Confluence-questions/ HTML-macro-on-Confluence-Cloud/qaq-p/1318974 | html macro question |
https://community.atlassian.com/t5/Confluence-questions/I f-I-replace-http-www-atlassian-com-by-https-bugzilla-mozilla/qaq-p/25184 | iframe macro test in Confluence - 2016 |
https://www.w3schools.com/tags/tag_iframe.asp | w3schools example |
Key Concepts
iFrames
https://www.w3schools.com/tags/tag_iframe.asp
Add iFrame for another app
HMTL macros ?
https://community.atlassian.com/t5/Confluence-questions/HTML-macro-on-Confluence-Cloud/qaq-p/1318974
Whilst the standard HTML macro isn't available, there are alternatives on the app store - such as:
One of these might give you the functionality you need :)
There are some variances in available macros on Confluence Cloud between the Legacy Editor and New Editor - see the full list on this page.
Billable HTML macro plugin for Confluence Cloud only runs in iFrame - lower cost
The rendering of the macro code inside of an iframe is a security constraint/feature enforce by Confluence Cloud. Sorry, but we don't have the ability to eliminate that enclosing iframe.
As for resizing the macro, that is something that Atlassian and vendors have battled for years. We work with Atlassian to ask them for abilities like this and we plan to add an API for resizing to our macro (HTML-95) but even once that's available, you'd still need to manually invoke that API as you needed the frame to grow.
$6 per user per year
Recommended - Billable HTML & iFrame Macro for Confluence - expensive
Embed web pages, forms, slides & charts as Iframe
Use HTML, CSS and Javascript with live preview
Run code snippets & add features using Javascript
Add/include external forms, websites, charts etc. For example:
- forms from Google Forms, Wufoo, typeform etc.
- videos/slides from Youtube, Vimeo, Slideshare, Google slides etc.
- posts from Twitter, Facebook, Instagram
Enables extra functionality to Confluence by using HTML, CSS & JS code. Do you have HTML files, tables, forms you just need to display in a page? You are fully covered.
It also has drop-in replacement for Macro Toolbox.
Write Javascript and use JS libraries to add extra features like widget, transitions, slideshow, visualizations etc.
Add custom charts using Google charts, Power BI, highcharts, D3.js etc or embed jsFiddle & CodePen.
$5 per user per year
Documentation
https://bitwelt.atlassian.net/wiki/spaces/bit/pages/436568065/HTML+Iframe+Macro+for+Confluence
Draw.io diagrams -
$6 per user per year
Potential Value Opportunities
Potential Challenges
Candidate Solutions
Step-by-step guide for Example
sample code block