Use CSS stylesheet in Construct 3 and inject simple html elements. (ONLY C3 RUNTIME)
Add and delete CSS and HTML elements.
How to create a Markdown editor using Showdown, Construct 3 and only 1 event.
How to insert an iframe
Found Bug, when i check "use worker" to on:
Uncaught (in promise) ReferenceError: document is not defined
at StraniAnelli_InjectCSSInstance.InjectCSSIntoHead (89c7d939-949e-4ad5-b08c-72444b66af6e:183)
at StraniAnelli_InjectCSSInstance.InjectElementIntoHead (89c7d939-949e-4ad5-b08c-72444b66af6e:106)
Ok thanks
I don't know why he makes this warning.
If I can check tonight or tomorrow. In any case, I think I'll check in September, when I come back from my honeymoon.
Hi macube, LuisCGForte
Finally I can work on this bug. And I decided it's time to deprecate this addon and start a new version. I hope the 2.0 version will be simpler and... better :)
If you like, you can try the very first version.
construct.net/en/make-games/addons/317/css
online demo:
el3um4s.github.io/construct-inject-css-plugin/version%202/demo/test
I deleted a lot of "actions": I think they were redundant.
Let me know if you need some of the actions I cancelled.
here too
I can not add a plug-in to my project, only in example file if I delete injectCSS
kytuzina
This plugin is only for project with c3 runtime.
In your project, switch to Project Properties. You can do this by clicking the name of the project in the Project Bar. Expand the Advanced section. Inside this group is a new Runtime setting. You can switch to using the C3 runtime for this project by changing this setting.
Thanks! It works!
A fantastic addon! What I haven't managed yet, however, is to load Bootsrap for a UI with it.