save className of multiple SelectControl values
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start with assets/js/spacing-control.js, linked in the issue, and inspect how the multiple SelectControl values are saved. Confirm the behavior by checking that both .has-spacing-bottom-$ and .has-spacing-top-$ class names are persisted rather than only the last value.
Written by the indexing model from the issue text.
Description
Thank you very much for this example plugin, it's helping me learn Gutenberg.
Your example of multiple SelectControl: https://github.com/liip/extend-block-example-wp-plugin/blob/feat/additional-attribute-logic/assets/js/spacing-control.js
I noticed that only the last attribute .has-spacing-bottom-$ is saved. The .has-spacing-top-$ is ignored.
I'm trying to fix it without success. Could you give me at least a hint on how to solve this issue?
Thanks and Cheers!
- Dominant language
- JavaScript
- Stars
- 50
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from liip/extend-block-example-wp-plugin
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in liip/extend-block-example-wp-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
fix(套件): test_bundle 往仓库的 preset/skills 写哨兵,并发跑的 test_installer 拷贝时撞 ENOENT(CI 红)Possibly taken @Miaotofu01 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Miaotofu01/Study-Mate#216 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Berserk-hub150/skillhawk#229 · 1 comment ·
Maintainers usually reply within 8 days