GrapesJS / GrapesJS/style-bg

Custom "directions" added with propExtender are not working correctly

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
35
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hello!

I'm trying to add custom directions, but I'm encountering an issue. When I select one of the custom directions, the "view" appears fine. However, the selector still displays one of the default directions. Additionally, when I add another spot color to the gradient, the view doesn't reflect the correct direction.

You can see the issue demonstrated in this CodePen:
https://codepen.io/mvelarde/pen/PoVbZbR

Am I using the correct method for extending a property?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.