-
Suggestion
-
Resolution: Answered
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
CONF-7409 was implemented for Confluence 2.8, allowing macros to use #requireResource (or WebResourceManager.requireResource()) to declare which CSS and JS resources they required when the page was built.
This functionality doesn't currently extend to including these resources in the following situations:
preview in the editor: need to get the resources via AJAX from the server and include them in the page dynamically (see CONF-11982)
- exports and notifications: use a hard-coded list of resources generated by /styles/combined.css?forWysiwyg=true
- rich-text editor (potentially): uses same hard-coded list as exports and notifications.
(The rich-text editor is less important because only Confluence macros typically render content that needs to be styled there. Most just appear as {macro}...{macro}.)
- causes
-
CONFSERVER-12082 Tasklists are not rendered nicely in HTML email notifications
- Closed
-
CONFSERVER-12776 Error exceptions when exporting a page that contains a simple macro to Word
- Closed
-
CONFSERVER-13771 HTML export results in NPE from requireResource velocimacro when used by plugins
- Closed
-
CONFSERVER-13785 Errors when exporting demonstration space after migration to 2.10-m8
- Closed
-
CONFSERVER-14386 Empty gallery macro throws error in HTML and PDF export
- Closed
- is related to
-
CONFSERVER-11409 CSS declared in web-resources should be included in RSS, Word and PDF exports.
- Closed
-
CONFSERVER-15649 Remote API can't render pages that contain page content that use #requireResource velocity macro
- Closed
-
CONFSERVER-12967 Provide a render mode for notifications
- Closed
- relates to
-
CONFSERVER-11982 Some macros are displayed unstyled and ugly in Preview Mode
- Closed
-
CONFSERVER-13494 SOAP calls break when trying to write {tasklist} macro in contents
- Closed
-
CONFSERVER-13548 Confluence CLI generates null Pointer Exception when adding pages with gallery
- Closed
-
CONFSERVER-13551 Word export crashes due to lack of requestcache filter
- Closed
-
CONFCLOUD-11540 Resources requested by macros should be rendered in exports and notifications and other situations
- Closed
-
CONFSERVER-6919 Macros and plugins should be able to render themselves properly for PDF and HTML export
- Closed