Issue #2120Opened July 5, 2019by alikabeer320 reactions

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

Question

Code SnippetTEXT
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)

artfJuly 14, 20190 reactions

@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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.