Issue #5556πŸ’¬ AnsweredOpened Dec 13, 2023by pittleCheung0 reactions

Too many classes will cause the webpage to crash

Quick answerby artf

Already reported and fixed https://github.com/GrapesJS/grapesjs/issues/5525

Read full answer below ↓

Question

GrapesJS version [X] 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( <ul class="mb-5 flex list-none flex-row flex-wrap border-b-0 pl-0" role="tablist" data-te-nav-ref > <li role="presentation"> <a class="my-2 block border-x-0 border-b-2 border-t-0 border-transparent px-7 pb-3.5 pt-4 text-xs font-medium uppercase leading-tight text-neutral-500 hover:isolate hover:border-transparent hover:bg-neutral-100 focus:isolate focus:bo...

Answers (2)

GJS Helperβ€’ May 17, 2026

The issue you're experiencing, where GrapesJS crashes or becomes unresponsive when adding and selecting elements with a large number of utility classes (especially from frameworks like Tailwind CSS or component libraries using data-[...] attributes), is a known performance bottleneck. Root Cause Gr...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.