Skip to content

Commit ca70106

Browse files
committed
add attribute to load-themed-styles script tag for projections to child windows
1 parent 0c285cd commit ca70106

File tree

1 file changed

+1
-0
lines changed
  • libraries/load-themed-styles/src

1 file changed

+1
-0
lines changed

libraries/load-themed-styles/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ function registerStyles(styleArray: ThemableArray): void {
389389
themable
390390
} = resolveThemableArray(styleArray);
391391

392+
styleElement.setAttribute('data-load-themed-styles', 'true');
392393
styleElement.type = 'text/css';
393394
if (_styleNonce) {
394395
styleElement.setAttribute('nonce', _styleNonce);

0 commit comments

Comments
 (0)