git-it-write icon indicating copy to clipboard operation
git-it-write copied to clipboard

Handling for script and style tags

Open SienciLabs opened this issue 5 months ago • 8 comments

Hi @vaakash!

I've now been using your plugin quite successfully, I'm not sure if you'd like a donation that I can give somewhere to help support your project.

One remaining thing that would be very helpful, is that for some pages I have a custom browser app I import into my Wordpress pages with: <script src="https://resources.sienci.com/wp-content/react/wizard.js"></script> <style>@import url('https://resources.sienci.com/wp-content/react/wizard.css')</style>

Right now, GIW seems to get stuck on these and instead only brings over @import url('https://resources.sienci.com/wp-content/react/wizard.css') and then gets stuck and doesn't process to import the rest of the page content. Is there a simple rule that could be added to handle this type of content similar to how handling of other common HTML elements is already implemented? I just want the raw HTML to be delivered to the other side for the WordPress page to receive and host.

Many thanks, Chris

SienciLabs avatar Sep 06 '24 19:09 SienciLabs