• Resolved romainprevot

    (@romainprevot)


    Hy,

    Claps for you !! Plugin is great.
    When i put my tailwind config, it told me it’s saved, but console is cleared with :

    {
       "preflight":false
    },


    and my settings doesn’t work (default tailwind config to test).
    it’s an issue only with me or someone else has too ?

    I don’t know if it’s regular use, but it will be nice to save and get the current configuration and not
    {
    ???"preflight":false
    }

    because i don’t remember what i put there before XD
    Thanks

    • This topic was modified 1 year, 11 months ago by romainprevot.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg

    (@freshbrewedweb)

    @romainprevot this editor won’t save invalid JSON, so if you enter invalid JSON it never actually gets saved and reverts to the previous working version. I suggest you type in your configuration one line at a time or paste in your config as a whole into a JSON linter and edit in there to get it working. Once it’s valid if you paste it into the plugin and save there should be no problem.

    Please note that the default Tailwind config is written in javascript and not JSON, so it’s not a copy paste situation from their docs.

    There are plans for a better config editing experience here.

    • This reply was modified 1 year, 11 months ago by Greg.
    Thread Starter romainprevot

    (@romainprevot)

    @freshbrewedweb Thanks for the tips,

    i figured it out it was json not js. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Settings not saved’ is closed to new replies.