Issue #325○ OpenOpened September 20, 2017by OBezdietko0 reactions

Bug in class names

Open question

No community answers yet. Open the original discussion on GitHub to share your solution.

Question

Editor replaces all instances of '--'(double hyphen) with '-'(single hyphen) in the initial class names. For example in the editor iframe I receive 'mdl-cell-3-col' instead of initial 'mdl-cell--3-col' in the html element's class attribute. Why so? I can't use editor properly with Google's MDL or any css that was build with BEM logic. Why don't leave all class names as is?

Answers (0)

No answers yet.

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.