github / github/include-fragment-element

host style requires CSP with style-src 'unsafe-inline'

Offen
#109 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
568
Forks
43
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
5

Beschreibung

Is there another way to style the host as block without an inline style? Or could there be a mechanism for the host page to control the insertion of this style?

https://github.com/github/include-fragment-element/blob/75ac8d9978339004ec7fe4e73c121d64ccea6c3b/src/include-fragment-element.ts#L96-L98

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.