Issue #2120💬 AnsweredOpened July 5, 2019by alikabeer320 reactions

CSS properties of body (#wrapper) not editable after editor.setComponents(html);

Quick answerby artf

@alikabeer32 follow the BUG template please, without a demo it's hard to understand the issue

Read full answer below ↓

Question

When I save my page in a database refresh, the html and css are set like so $.ajax({ url: "../feeder.php", type: 'POST', processData: false, contentType: false, data: fd, success: function(result){ var response = JSON.parse(result); html = response.html; css = response.css; //editor.CssComposer.getAll().reset(); editor.setComponents(html); editor.addComponents('<style>'+css+'</style>'); }}); But I cannot seem to be able to change the background image. It kind of gets stuck and the whole page then gets ruined. What am I missing? I can set a new image as background but background-color doesn't...

Answers (1)

artfJuly 14, 2019

@alikabeer32 follow the BUG template please, without a demo it's hard to understand the issue

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.