react-email-editor icon indicating copy to clipboard operation
react-email-editor copied to clipboard

Unlayer Types not correct for the newer version

Open willianjusten opened this issue 9 months ago • 6 comments

Hey guys, I just saw you updated Unlayer to it's new version, but I also noticed that the unlayer-types package is not updated yet.

If I try to use the classic_light version, my TS fails because it does not have this type there. I saw the package and indeed, it's not there.

image

Also, is there a list of latest versions of the Unlayer editor so I can lock correctly? I can't find anywhere...

willianjusten avatar Apr 30 '24 16:04 willianjusten

We have an internal fix for that! It's not available yet. You can make ts ignore that line for now.

We don't have a list of versions, but I believe that is something we will be doing from now on and they'll be available in the Docs Changelog: https://docs.unlayer.com/changelog

brunolemos avatar Apr 30 '24 18:04 brunolemos

Would you mind telling me the latest version prior this theme update?

willianjusten avatar Apr 30 '24 18:04 willianjusten

@willianjusten 1.5.75

What did the new version break for you?

brunolemos avatar Apr 30 '24 18:04 brunolemos

Ah, so it's the same as in the Docs you sent me, perfect. It broke most of the Custom CSS stuff because some classes changed and there are also some new visuals. Nothing big and we're already with a task to fix that, but I didn't want to have anything broken (even thought is not in prod yet).

willianjusten avatar Apr 30 '24 18:04 willianjusten

@willianjusten cool! thanks for letting me know

show us the customization later if you can :)

brunolemos avatar Apr 30 '24 18:04 brunolemos

Sure, I'll let you know as soon as we release this new feature. It will come in the next few months =)

willianjusten avatar Apr 30 '24 18:04 willianjusten

We released a new unlayer-types version with the fix! Thanks.

brunolemos avatar May 08 '24 21:05 brunolemos