Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore toolbar to original
  • Loading branch information
getdave committed Aug 6, 2025
commit f4ba923a5931075be2eb62a7b4caa1c3bfb221ae
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ const POPOVER_PROPS = {
};

const FormatToolbar = () => {
// In write mode, only show essential formatting controls
const primaryFormats = [ 'bold', 'italic', 'link', 'unknown' ];

return (
<>
{ primaryFormats.map( ( format ) => (
{ [ 'bold', 'italic', 'link', 'unknown' ].map( ( format ) => (
<Slot
name={ `RichText.ToolbarControls.${ format }` }
key={ format }
Expand Down
Loading