Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Too many classes will cause the webpage to crash #5556

Closed
2 tasks done
pittleCheung opened this issue Dec 13, 2023 · 1 comment
Closed
2 tasks done

BUG: Too many classes will cause the webpage to crash #5556

pittleCheung opened this issue Dec 13, 2023 · 1 comment

Comments

@pittleCheung
Copy link

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

latest version of Chrome

Reproducible demo link

https://grapesjs.com/demo.html

Describe the bug

How to reproduce the bug?

editor.addComponents(`



  • Home


  • Profile
  •     </ul>
         <div class="mb-6">
          <div
            class="hidden opacity-100 transition-opacity duration-150 ease-linear data-[te-tab-active]:block"
            id="tabs-home"
            role="tabpanel"
            aria-labelledby="tabs-home-tab"
            data-te-tab-active
          >
            Tab 1 content
          </div>
          <div
            class="hidden opacity-0 transition-opacity duration-150 ease-linear data-[te-tab-active]:block"
            id="tabs-profile"
            role="tabpanel"
            aria-labelledby="tabs-profile-tab"
          >
            Tab 2 content
          </div>
        </div>`)
    

    What is the expected behavior?
    ...

    What is the current behavior?

    When I click on the a tag, the entire web page will be paralyzed.

    If is necessary to execute some code in order to reproduce the bug, paste it here below:

    // your code here

    Code of Conduct

    • I agree to follow this project's Code of Conduct
@artf
Copy link
Member

artf commented Dec 20, 2023

Already reported and fixed #5525

@artf artf closed this as completed Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants