You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
You can use a special "context" for styles that you want to be included in the HTML Galley. Some these use this to apply styles to all HTML galleys.
However, the inline option, which prints styles inline in a <styles> tag, is not working. This can be used to set CSS variables based on theme options (like colors).
Also, the htmlGalley context is ignored when using ThemePlugin::addScript() or TemplateManager::addJavaScript().
To Reproduce
Steps to reproduce the behavior:
Add the code in Additional Information below to DefaultThemePlugin::init().
Upload a HTML galley.
View the HTML galley
See that the styles and script are not loaded in the <iframe>.
What application are you using? stable-3_3_0
Additional information
This is sample code you can use to reproduce this bug. Add it to the top of DefaultThemePlugin::init():
Describe the bug
You can use a special "context" for styles that you want to be included in the HTML Galley. Some these use this to apply styles to all HTML galleys.
However, the
inline
option, which prints styles inline in a<styles>
tag, is not working. This can be used to set CSS variables based on theme options (like colors).Also, the
htmlGalley
context is ignored when usingThemePlugin::addScript()
orTemplateManager::addJavaScript()
.To Reproduce
Steps to reproduce the behavior:
DefaultThemePlugin::init()
.<iframe>
.What application are you using?
stable-3_3_0
Additional information
This is sample code you can use to reproduce this bug. Add it to the top of
DefaultThemePlugin::init()
:The text was updated successfully, but these errors were encountered: