diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index dc3db16..87b5989 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -14,16 +14,16 @@ "dependencies": { "@babel/runtime": "^7.16.0", "@lapilli-ui/styles": "workspace:*", - "@wordpress/block-editor": "12.9.0", - "@wordpress/block-library": "8.18.0", - "@wordpress/blocks": "12.18.0", - "@wordpress/components": "25.7.0", - "@wordpress/compose": "6.18.0", - "@wordpress/core-data": "6.18.0", - "@wordpress/data": "9.11.0", - "@wordpress/icons": "9.32.0", - "@wordpress/keyboard-shortcuts": "4.18.0", - "@wordpress/media-utils": "4.32.0", + "@wordpress/block-editor": "12.19.9", + "@wordpress/block-library": "8.28.12", + "@wordpress/blocks": "12.28.6", + "@wordpress/components": "26.0.6", + "@wordpress/compose": "6.28.1", + "@wordpress/core-data": "6.28.9", + "@wordpress/data": "9.21.1", + "@wordpress/icons": "9.42.4", + "@wordpress/keyboard-shortcuts": "4.28.1", + "@wordpress/media-utils": "4.42.2", "classnames": "^2.3.1", "lodash": "^4.17.21" }, diff --git a/packages/block-editor/src/block-editor/BlockEditor.tsx b/packages/block-editor/src/block-editor/BlockEditor.tsx index fb2a495..9a41257 100644 --- a/packages/block-editor/src/block-editor/BlockEditor.tsx +++ b/packages/block-editor/src/block-editor/BlockEditor.tsx @@ -1,8 +1,8 @@ import React, { useState, useRef, useEffect } from "react"; import { Popover, SlotFillProvider } from '@wordpress/components'; -import { BlockEditorProvider } from '@wordpress/block-editor'; +import { BlockEditorProvider , BlockToolbar} from '@wordpress/block-editor'; -// @ts-ignore No types exists for this yet. +// @ts-ignore No type exists for this yet. import { ShortcutProvider } from '@wordpress/keyboard-shortcuts'; import { debounce, noop } from "lodash"; @@ -148,6 +148,8 @@ function BlockEditor( { onChange={ debounceChange } > + +