Skip to content

Commit 41d51e6

Browse files
authored
Fix style dialog for richTextIcon (#270)
* update parameters provided to IconModifer in richTextIcon * rebuild block-editor bundle
1 parent 08028c0 commit 41d51e6

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

block-editor/build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '053349df96bda0ebca60');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => 'f366c8185ea9873dd43b');

block-editor/build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

block-editor/src/richTextIcon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ function InlineUI({ value, changeValue, contentRef, handleSelect }) {
208208
setAttributes={setAttributes}
209209
IconChooserModal={IconChooserModal}
210210
context={context}
211-
prepareHandleSelect={() => handleSelect}
211+
handleSelect={handleSelect}
212+
iconChooserOpenEvent={modalOpenEvent}
212213
/>
213214
</Modal>
214215
)}

0 commit comments

Comments
 (0)