Forge Confluence custom bridge API
npm install @forge/confluence-bridgeCustom bridge methods for extensions to get or modify Confluence editor data.
- getEditorContent(): Gets current ADF of editor
- getMacroContent(): Gets current ADF of the current macro
- updateMacro(macroADF): Updates the current macro with new macro ADF passed in
- setMacroViewportHeight(height): Sets the current macro to the viewport height passed in