Issue #5621Opened January 15, 2024by ronaldohoch0 reactions

BUG: Border is not taken into consideration when showing placeholder on empty elements

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Edge last version

Reproducible demo link

https://grapesjs.com/demo

Describe the bug

How to reproduce the bug?

  1. Get an empty element
  2. Add double border with high value. (20..30px...)
  3. Move any block into it.

image

What is the expected behavior? Placeholder should be placed in center of element.

What is the current behavior? Placeholder is shown in the top of element, inside boder

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

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.