CSS properties of body (#wrapper) not editable after editor.setComponents(html);
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 work.Answers (1)
@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.
Issue #1438
Ways to load Html content through reactjs wrapper
@artf Bro, I want to load the html page which contains css and js for effects (parallax). I worked around 10 days but still I cant able to...
Issue #960
Uncaught SyntaxError: Unexpected end of input
blockManager.add('design', { label: 'design', content: { script: function () { $.ajax({ url: parent.DrupalBasePath + '/api/v1/rnode_operati...
Issue #2166
[QUESTION][REQUEST] How to remove a block?
editor.DomComponents.getWrapper().getEl().insertAdjacentHTML('beforeBegin', letBlock) letBlock letblock is a variable that contains HTML. Q...
Issue #1643
Render New Html to editor with Action of Traits
I create New custom Tool with (default html) when draged , and i also create traits for this component when i click on checkbox excuting fu...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.