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

No CSS support for custom pages? #2982

Closed
luckyoi opened this issue Aug 6, 2022 · 9 comments · Fixed by #3144
Closed

No CSS support for custom pages? #2982

luckyoi opened this issue Aug 6, 2022 · 9 comments · Fixed by #3144
Labels
Milestone

Comments

@luckyoi
Copy link

luckyoi commented Aug 6, 2022

Describe the issue

I've made a custom page (basic page) with CSS (I didn't even use external urls, i put the css inside <style> html code) and when I load the page, it doesn't load with css, then I go back to custom pages in staff panel to check the source and I see that CSS code isn't there. Same thing when adding <link rel="stylesheet" href="css/stylesheet.css"> in my HTML code.
I'm using the latest version

NamelessMC Version

2.0.0

To Reproduce

No response

Expected Behaviour

No response

Screenshots

No response

Additional Information

No response

@luckyoi luckyoi added the bug label Aug 6, 2022
@PadowYT2
Copy link
Contributor

PadowYT2 commented Aug 6, 2022

Enable Unsafe HTML

@luckyoi
Copy link
Author

luckyoi commented Aug 6, 2022

I already did

@PadowYT2
Copy link
Contributor

PadowYT2 commented Aug 6, 2022

And did you put the code in Source HTML?

@luckyoi
Copy link
Author

luckyoi commented Aug 6, 2022

yes of course, I tried putting css in <style>mycssCode0</style> and but after I confirm the update and go back to see the source, it is no longer there, neither nor <style> part of code

@partydragen
Copy link
Member

I have confirmed there is multiple problems with custom pages, looking into it

@luckyoi
Copy link
Author

luckyoi commented Aug 6, 2022

alright, let me know, thanks

@supercrafter100
Copy link
Member

@partydragen have you figured out a solution to this problem yet?

@partydragen
Copy link
Member

@partydragen have you figured out a solution to this problem yet?

No, This being @Aberdeener task xD He broke it

@samerton
Copy link
Member

Potentially fixed by b6948b6 - needs verifying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants