Issue #2538💬 AnsweredOpened January 30, 2020by senchden0 reactions

Adding background makes an extraneous request

快速解答by artf

Should be fixed in the next release

Read full answer below ↓

Question

Steps to reproduce:

  1. Select any element.
  2. Try to add a background via Style Manager using 'Decorations' -> 'Background'.
  3. Click a plus sign.

Expected behaviour: No extraneous requests are made.

Actual behaviour: An extraneous GET request is made to ../none (i.e. to https://grapesjs.com/none if on https://grapesjs.com/demo.html)

Caused by getPosition() function in CanvasView.js file.

Reproducible on version 0.15.10 on web page demo.

Answers (1)

artfFebruary 3, 2020

Should be fixed in the next release

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.