Commit dc5e7760 authored by NickWilde's avatar NickWilde

Issue #2949882 by NickWilde, mortona2k: Color CSS declaration only allows 1 declaration per page

parent 13191977
...@@ -192,7 +192,7 @@ class ColorFieldFormatterCss extends FormatterBase implements ContainerFactoryPl ...@@ -192,7 +192,7 @@ class ColorFieldFormatterCss extends FormatterBase implements ContainerFactoryPl
$elements['#attached']['html_head'][] = [[ $elements['#attached']['html_head'][] = [[
'#tag' => 'style', '#tag' => 'style',
'#value' => $inline_css, '#value' => $inline_css,
], 'colorfield_css', ], sha1($inline_css),
]; ];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment