Issue #1758πŸ’¬ AnsweredOpened January 29, 2019by tjb2950 reactions

Unable to load in CSS string with characters such as '#' with setStyle()

Quick answerby artf

First of all, use the latest version and then, can you show an example and the error returned by setStyle?

Read full answer below ↓

Question

You're submitting a BUGAre you using the latest release (older versions are NOT supported)?If you're not sure, type grapesjs.version in console and press ENTERAre you facing the bug with your local copy of GrapesJS or with the current demo?If a local copyIndicate all informations about your OS, browser and GrapesJS version. Ubuntu 16.04 Firefox, Grapesjs V0.14.40Are you able to reproduce the bug from the demo? Yes any time I call setStyle with a CSS string, it rejects any css containing # which is used to mark IDsWhat is the expected behavior? I am using setStyle to load in an external CSS ba...

Answers (3)

artfβ€’ February 5, 2019

First of all, use the latest version and then, can you show an example and the error returned by setStyle?

no-response[bot]β€’ February 16, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we ne...

lock[bot]β€’ February 16, 2020

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 β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.