material-design-for-wordpress icon indicating copy to clipboard operation
material-design-for-wordpress copied to clipboard

toolbar controls is deprecated

Open pbearne opened this issue 4 years ago • 0 comments
trafficstars

Bug Description

Getting this warning in tests Using custom components as toolbar controls is deprecated. Please use ToolbarItem or ToolbarButton components instead. See: https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols

Expected Behaviour

Not get waring in tests

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

Additional context

  • WordPress version:
  • Plugin version:
  • Gutenberg plugin version (if applicable):
  • PHP version:
  • OS:
  • Browser: [e.g. chrome, safari]
  • Device: [e.g. iPhone6]

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

pbearne avatar Jul 28 '21 18:07 pbearne