Skip to content

Fix: Use array form for contrast checkers.#20143

Merged
jorgefilipecosta merged 1 commit into
masterfrom
fix/use-array-for-for-contrast-checkers
Feb 10, 2020
Merged

Fix: Use array form for contrast checkers.#20143
jorgefilipecosta merged 1 commit into
masterfrom
fix/use-array-for-for-contrast-checkers

Conversation

@jorgefilipecosta
Copy link
Copy Markdown
Member

@jorgefilipecosta jorgefilipecosta commented Feb 10, 2020

Description

Fix use array form of contrast checker to avoid contrast message appearing multiple times.

Applies changes suggested by @epiqueras in #20016 (review) to fix an issue with contrast checkers.

The change is being applied to heading, columns and group block.

Comment thread packages/block-library/src/heading/edit.js Outdated
@jorgefilipecosta jorgefilipecosta force-pushed the fix/use-array-for-for-contrast-checkers branch from b02df8f to 652242f Compare February 10, 2020 15:20
@jorgefilipecosta jorgefilipecosta added the [Type] Bug An existing feature does not function as intended label Feb 10, 2020
@jorgefilipecosta jorgefilipecosta merged commit 678184f into master Feb 10, 2020
@jorgefilipecosta jorgefilipecosta deleted the fix/use-array-for-for-contrast-checkers branch February 10, 2020 17:07
@github-actions github-actions Bot added this to the Gutenberg 7.5 milestone Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants