Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[BUG] Yoopta is messing up global styles

Open debkanchan opened this issue 1 year ago • 2 comments

Has this bug been raised before?

  • [X] I have checked "open" AND "closed" issues and this is not a duplicate

Description

We are using shadcn and consequentially tailwind to build our webapp. As soon as we use any yoopta tool, plugin, mark or editor it messes up global style especially borders

Steps to Reproduce

  • init a next.js project
  • setup a theme switcher using next/themes
  • setup shadcn/ui
  • copy any block
  • add a yoopta editor anywhere

Environment

  • OS: MacOS Sonoma 14.5 (23F79)
  • Browser: Arc Version 1.54.0 (52220) [Chromium Engine Version 127.0.6533.89]

Screenshots

before yoopta Screenshot 2024-08-06 at 9 26 45 PM Screenshot 2024-08-06 at 9 27 29 PM

after yoopta Screenshot 2024-08-06 at 9 27 04 PM Screenshot 2024-08-06 at 9 27 18 PM

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response

debkanchan avatar Aug 06 '24 16:08 debkanchan

Related to https://github.com/Darginec05/Yoopta-Editor/issues/186

Darginec05 avatar Aug 06 '24 16:08 Darginec05

Yes, that's annoying behaviour

Darginec05 avatar Aug 06 '24 16:08 Darginec05

Following up on this. Currently messing antd design and makes it unusable for me in production sadly due to the impact of global selectors. Otherwise, very nice editor. Screenshot 2024-08-14 at 14 19 57

g-wozniak avatar Aug 14 '24 12:08 g-wozniak

Hi @g-wozniak @debkanchan I'm working on it right now

It will be fixed in next minor version

Darginec05 avatar Aug 14 '24 12:08 Darginec05

Hi @g-wozniak @debkanchan I'm working on it right now

It will be fixed in next minor version

Poggers

debkanchan avatar Aug 14 '24 12:08 debkanchan

@debkanchan :D

Darginec05 avatar Aug 14 '24 12:08 Darginec05

Hey comrades @g-wozniak @debkanchan! I just published -rc 4.6.10-rc.0 version with this fix

Could you check it please? If everything is good I'll publish stable version today

Darginec05 avatar Aug 16 '24 17:08 Darginec05

Da comrade @Darginec05! It works

image

debkanchan avatar Aug 16 '24 18:08 debkanchan

Works great to me as well. Thanks!

g-wozniak avatar Aug 17 '24 10:08 g-wozniak

@debkanchan roger that, I'll prepare stable version @g-wozniak thanks for sponsoring ❤️

Darginec05 avatar Aug 17 '24 15:08 Darginec05

Fixed in v4.7.0 🎉

Darginec05 avatar Aug 17 '24 20:08 Darginec05