Skip to content

Commit

Permalink
Show in main toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Dec 8, 2022
1 parent 19c5ccd commit 57943dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const POPOVER_PROPS = {
const FormatToolbar = () => {
return (
<>
{ [ 'bold', 'italic', 'link' ].map( ( format ) => (
{ [ 'bold', 'italic', 'link', 'unknown' ].map( ( format ) => (
<Slot
name={ `RichText.ToolbarControls.${ format }` }
key={ format }
Expand Down
1 change: 1 addition & 0 deletions packages/format-library/src/unknown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const unknown = {

return (
<RichTextToolbarButton
name="unknown"
icon={ help }
title={ title }
onClick={ onClick }
Expand Down

0 comments on commit 57943dc

Please sign in to comment.