# Local fix for tailwindui plugin not working in last version of pinegrow web editor

**URL:** <https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733>\
**Category:** Support Forum Feedback\
**Created:** [November 29, 2020, 3:45am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733 "2020-11-29T03:45:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrikgrinsvall](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@patrikgrinsvall](https://forum.pinegrow.com/u/patrikgrinsvall)\
**Post date:** [November 29, 2020, 3:45am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/1 "2020-11-29T03:45:37Z")

</div>

Me and probably many more (i know at least two more), not being able to work with the tailwindui framework since the last version of pine grow, (5.98?).  
Getting this response when logging in: 419 | PAGE EXPIRED

I think the problem might be that there is a .dot in the domain of a cookie + set to secure + lax. This inside an iframe doesn’t work well.  
So to hack around this and use tailwindui framework, heres how:

1. Login to your tailwindui account in chrome and get dev tools open
2. Press f12 in pinegrow to get dev console up.
3. Then, copy & paste all keys and values from application-\>cookies from chrome into pinegrows cookies. This is replacing the logged in session.
4. Remove the dot in the domain name where it says “.tailwindcss.com”.
5. Force reload pine grow, ctrl+shift+r(win) cmd+r(osc)
6. Reload the plugin from the down arrow in plugins toolbar-\>reload
7. Press back once, and you are logged in.

Quite messy, yea…

But far more easier than my previous attempts to get around this, by writing a plugin that uses a local scraped copy of tailwindui component library.

Probably easiest fix for pinegrow devs. is to try and disable cors, if possible, or maybe have a local proxy that replaces cookie values and iframe that one in the framework.

---

<div class="post-metadata">

**Author:** ![rslav](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@rslav](https://forum.pinegrow.com/u/rslav)\
**Post date:** [December 18, 2020, 4:50am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/2 "2020-12-18T04:50:16Z")

</div>

I am having the exact same issue, just signed up and using tailwind ui, but when I go to load the ui library, it just shows me: 419 page expired.

Thank you for the solution, otherwise I wouldn’t have been able to use this feature, and as a new customer it’s upsetting.

I don’t want to have to do this more than once, so please fix this issue. ☹ ☹

---

<div class="post-metadata">

**Author:** ![rslav](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@rslav](https://forum.pinegrow.com/u/rslav)\
**Post date:** [December 22, 2020, 2:55am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/3 "2020-12-22T02:55:58Z")

</div>

I want a refund. Pinegrow keeps eating its own turd, and I am not interested in copy pasting cookies each time I want to use tailwind. It doesn’t even remember my password. wtf.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [January 14, 2021, 6:40am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/4 "2021-01-14T06:40:29Z")

</div>

@rslav TailwindUI is a third-party site and we have no control over their server setup and the way how they set their session cookies. We are looking for a solution that will let users open TWUI in the Library panel, without copy-pasting cookies.

---

<div class="post-metadata">

**Author:** ![rslav](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@rslav](https://forum.pinegrow.com/u/rslav)\
**Post date:** [January 14, 2021, 9:11am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/5 "2021-01-14T09:11:39Z")

</div>

please let me know, i am willing to resubscribe to a plan once done on your end, i hate copy pasting as well, and prefer using scss.

---

<div class="post-metadata">

**Author:** ![AnonymeForLiberty](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@AnonymeForLiberty](https://forum.pinegrow.com/u/AnonymeForLiberty)\
**Post date:** [November 26, 2021, 8:52am UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/6 "2021-11-26T08:52:19Z")

</div>

Hi matjaz,

I’m currently using Pinegrow 6.21. Were you able to deploy a fix to this issue?

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [November 29, 2021, 7:53pm UTC](https://forum.pinegrow.com/t/local-fix-for-tailwindui-plugin-not-working-in-last-version-of-pinegrow-web-editor/4733/7 "2021-11-29T19:53:42Z")

</div>

Hi @AnonymeForLiberty, yes, this was solved a while back. See here for details:

> **[TailwindUI | Pinegrow Web Editor](https://pinegrow.com/docs/tailwind/tailwindui/)**
>
> TailwindUI is a premium Tailwind component library created by authors of TailwindCSS. Tailwind Visual Editor adds the TailwindUI library into the Library panel and extends visual controls with…
