Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: add new StyleTagHelper to allow inserting <style> block to header from components #43

Closed
bouskdav opened this issue Jun 24, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@bouskdav
Copy link

Hi,

I would propose to add new StyleTagHelper to allow inserting <style> block to header from inside components or wherever @section head { ... } is unavailable.

One can then use it from e.g. component as:

<style asp-location="Header">
    @Html.Raw(Model.AdditionalCss)
</style>

Let me know, I can send PR.

Cheers,
David

@KrzysztofPajak
Copy link
Member

Hi @bouskdav
Sure, go ahead

Regards
Krzysztof

@KrzysztofPajak KrzysztofPajak added this to To do in GrandNode 1.X Jun 24, 2021
@KrzysztofPajak KrzysztofPajak added the enhancement New feature or request label Jun 24, 2021
@bouskdav
Copy link
Author

PR sent. Cheers!

@KrzysztofPajak KrzysztofPajak removed this from To do in GrandNode 1.X Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants