Issue #1037💬 AnsweredOpened April 12, 2018by dsgh0 reactions

Devices with a percentage width not supported

快速解答by maxtacco

This is probably related to https://github.com/artf/grapesjs/issues/896. I guess the logic should be adjusted to handle different types of units, i.e px, em, % etc.

Read full answer below ↓

Question

version: 0.14.8

Steps to reproduce the bug

  • Use the grapesjs-blocks-bootstrap4 plugin.
  • Use the index.html example there - Keep the default devices (which include one defined as 100%)
  • Add any block with classes (eg Container)
  • Click that added block in the editor canvas.
  • This results in an error: Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Element': '#gjs-css-rules-100%' is not a valid selector.

Screenshot

error

Answers (2)

lock[bot]September 17, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.