Yoopta-Editor
Yoopta-Editor copied to clipboard
[Example Request]: Remove "Copy link to block" option from ExtendedBlockActions in custom plugin
What's the example?
When using ExtendedBlockActions in my custom plugin (LineupBlockOptions), I'm getting three options displayed:
- Duplicate
- Delete
- Copy link to block
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 })} >
</ExtendedBlockActions>
); };
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
- [x] I agree to follow this project's Code of Conduct
Good catch. I want to add possibility for full control Block action items
related https://github.com/yoopta-editor/Yoopta-Editor/issues/368
im currently having this blocker, was this feature worked on ?