It cannot be done, no API currently exists to add what you want to add.
If we look at the component that implements this:
The InlineLinkUI
wraps a component that wraps the URLPopover
component, and places a child component inside it which is how the new window checkbox is added. No slots are present or hooks for intercepting this.
Judging from what you want to do, I don’t think this is the intended path forward. Instead, build a block, or a new inline block. You can also open an issue on the Gutenberg GitHub requesting the feature
Related Posts:
- Help Unregistering a Core Block Type in Gutenberg
- How do I get the current post ID within a Gutenberg/Block Editor block?
- Get the current block ID
- How do you use __experimentalLayout to give innerblocks alignment control and default layout?
- WordPress Value of Undefined in Admin
- Modify the core/paragraph block
- WordPress Gutenberg blocks: Input fields are not editable
- What’s the recommended Gutenberg component for adding a URL, in the toolbar/sidebar?
- Once Again: How to Remove Option from Gutenberg Editor for Specific Block in theme.json
- Uncaught TypeError: wp.apiFetch is not a function
- how to get a more significant error response from ServerSideRender
- Align a custom block button by wrapping it in div
- Using applyFormat (from @wordpress/rich-text) to make persistent changes to Gutenberg’s rich text value
- Block validation: Block validation failed for `my-block`
- How to set the localization for a Gutenberg block?
- How does the Gutenberg mobile/tablet/desktop preview work with media queries?
- How to render core component inside edit() within custom registered block in Gutenberg?
- Modify Core Block Default Attributes
- How to set defaults for Border controls in custom block
- Compatability of gutenberg block in older WordPress version
- Find all the places where a block type is used
- WordPress PluginSidebar, TextControl setting and saving the default value
- How can I dynamically wrap in a Gutenberg block?
- Modifying the Gutenberg Button Block
- How to get featured_media of a post with getEntityRecords?
- How to grab posts in Gutenberg Block?
- How can I access the attributes of a block within InnerBlocks?
- How to avoid duplicate dependencies in Gutenberg blocks
- How to update a Gutenberg block without manually recovering it?
- Gutenberg Dynamic Block not Storing Attributes
- Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?
- Show pasted link text with diacritics not encoded
- How to Add predefined CSS Classes to a Block using Gutenberg
- Updating a block’s edit / save without reinventing the wheel
- Gutenberg block missing classes inside editor
- Custom dynamic Gutenberg block not rendering
- How to get an array of custom blocks by block name
- How do I addFilter to core/paragraph to add an attribute and see the change in the editor?
- How to register a embed handler as a fallback to a oEmbed handler?
- Performance of Gutenberg block attributes with source selectors vs without
- What version of React does Gutenberg use?
- Block background color not appearing on site
- For developers, what impact can we expect Gutenberg to have on the loop?
- Why is an argument of onChange nested in … in Gutenberg custom block RichText?
- Gutenberg: Heading with subheading/paragraph
- BlockControls not showing floating (show up in the top toolbar)
- Change label text in Gutenberg’s built in excerpt panel
- Style Gutenberg Editor based on Post Type or Page Template
- Gutenberg: How filter blocks of a certain type with parse_blocks recursively?
- Gutenberg add checkbox using PluginPostStatusInfo
- How to view all currently registered block patterns?
- LinkControl – how to toggle opensInNewTab
- Block editor — how to remove default classes
- Code block treats characters not being escaped
- Strange effect when I scroll in the editor
- Creating a custom slider block from InnerBlocks using React Slick
- Alter core block’s DOM – in both output AND editor
- ServerSideRender not rendering in block editor, but output is in “apiFetch”
- I cant find the custom html block
- Gutenberg allow use of block, but hide it from the block picker
- I am working with gutenberg blocks, specially a slider block. I wish to show the excerpt content from a custom api to the backend as well as frontend
- WordPress Gutemberg RichText FormatType no wrap with tagName
- Keyboard shortcut to format text as superscript or subscript
- How to add custom HTML tags in the visual mode via keyboard only?
- Add page title after first block
- Save JSON data with Gutenberg and show it in the content
- Gutenberg Blocks – Save a predefined text attribute?
- Adding a size to core/image in an innerblocks breaks the save
- How can I programmatically disable Gutenberg query block patterns?
- Is it possible to use the WordPress block directory to make my own custom blocks
- how to copy shortcode into a block?
- Gutenberg blocks – template_lock with several post type
- Gutenberg – reusable blocks that I can edit? Am I being slow?
- Block editor: Sandbox iframe shows outdated HTML
- Gutenberg custom block: RichText underline button
- How to wrap Gutenberg blocks into a custom container (without using HTML blocks)?
- DateTimePicker script and style missing?
- Gutenberg pass properties to filter
- How to remove multiple blocks of Gutenberg at the same time?
- How to set the background color of a template part (Header/Footer) in Twenty Twentythree?
- Run callback on removeBlock action
- Gutenberg blocks – only allow as innerblock
- Pullquote Block Styles disappeared?
- Using useSelect creates “minified React error”
- How do I reinstate the “Add Block” feature that changes with the update?
- Is it possible to consume context from a parent block and update it from within a child block?
- Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined
- WordPress “HTML editor” which doesn’t trash hand-coded HTML?
- How to force package.json to create build some files?
- How to modify array of object in Gutenberg (block/editor)?
- fetch more than 100 records in block editor API call
- How can I deprecate an old version of my custom Gutenberg block, but keep the new version?
- register_block_type – no block available in block editor
- Full Site Editing (FSE) – How do I display no results with wp:query?
- Dealing with unknown option ‘–variant’ when setting up a block environment
- Localising a Block
- WordPress.org UI: How do you make Bulleted/Numbered Lists indent by default?
- Unable to remove panels
- Is there a way to delete “wp-block-group__inner-container” div from the gutenberg editor view?
- Gallery Block in template, validation fails after adding column number