From f2aadb26e3479a05c71c7170125b97822e6f344d Mon Sep 17 00:00:00 2001 From: Marin Atanasov Date: Thu, 28 Sep 2023 12:45:47 +0300 Subject: [PATCH] Block Editor: Expose getDuotoneFilter() as private API --- packages/block-editor/src/private-apis.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-editor/src/private-apis.js b/packages/block-editor/src/private-apis.js index e6c80a731e180..fe16d791dc7c5 100644 --- a/packages/block-editor/src/private-apis.js +++ b/packages/block-editor/src/private-apis.js @@ -24,6 +24,7 @@ import { } from './components/inserter/reusable-block-rename-hint'; import { usesContextKey } from './components/rich-text/format-edit'; import { ExperimentalBlockCanvas } from './components/block-canvas'; +import { getDuotoneFilter } from './components/duotone/utils'; /** * Private @wordpress/block-editor APIs. @@ -33,6 +34,7 @@ lock( privateApis, { ...globalStyles, ExperimentalBlockCanvas, ExperimentalBlockEditorProvider, + getDuotoneFilter, getRichTextValues, kebabCase, PrivateInserter,