You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a prop or configuration option for ExtendedBlockActions that allows me to specify which actions should be displayed? I'd like to keep only the Duplicate and Delete actions while removing the Copy link to block action.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What's the example?
When using ExtendedBlockActions in my custom plugin (LineupBlockOptions), I'm getting three options displayed:
I only want the Duplicate and Delete options to appear in my custom plugin's block actions menu, without the "Copy link to block" option.
`import { UI} from '@yoopta/editor';
const { ExtendedBlockActions} = UI;
// Define props type
const LineupBlockOptions = ({ editor, block, props }) => {
return (
<ExtendedBlockActions
onClick={() => editor.setPath({ current: block.meta.order })}
>
);
};
export { LineupBlockOptions };`
Is there a prop or configuration option for ExtendedBlockActions that allows me to specify which actions should be displayed? I'd like to keep only the Duplicate and Delete actions while removing the Copy link to block action.
Code of Conduct
The text was updated successfully, but these errors were encountered: