Issue #5442Opened October 3, 2023by kishanp1020 reactions

BUG: After applying the text color not able to set the background color

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

chrome

Reproducible demo link

https://jsfiddle.net/a3xgLm7c/3/

Describe the bug

How to reproduce the bug?

  1. Select the text and apply the text color
  2. Select the same text and apply the background color

What is the expected behavior?

  1. Both color should apply

What is the current behavior?

  1. Background color should apply after applying the text color

If is necessary to execute some code in order to reproduce the bug, paste it here below:

// your code here

Code of Conduct

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

Answers (3)

mapsmarketingOctober 10, 20230 reactions

Hi @kishanp102 ,

I tried to reproduce the issue with the steps described but both the text and background colours are being applied (please see screenshot).

<img width="318" alt="image" src="https://github.com/GrapesJS/grapesjs/assets/79551469/74b22828-610a-4530-9582-96c0c120a805">
mapsmarketingOctober 11, 20230 reactions

Yep, you are right @kishanp102 it doesn't apply a new background colour on it after you've already set one. It's definitely a bug.

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.