WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 6 days ago

#41047 closed enhancement (reported-upstream)

Allow to customize insert/edit link dialog box

Reported by: madeincima01 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: Editor Keywords:
Focuses: administration Cc:

Description

Actually isn't simple to add attributes to the link in the editor (for example custom "class" or "rel"). There isn't any simple way to add a new field/checkbox in the insert/edit link dialog box. The public function wp_link_dialog() in wp-includes/class-wp-editor.php hasn't any hooks or filters. Maybe it would be useful add some possibilites to edit this popup if needed.

Change History (4)

This ticket was mentioned in Slack in #core-coding-standards by pento. View the logs.


3 years ago

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


3 years ago

#3 @afercia
3 years ago

  • Focuses accessibility removed

Removing the accessibility focus, as per today's bug scrub.

#4 @noisysocks
6 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Being able to extend the link popover in the block editor has been requested here:

https://github.com/WordPress/gutenberg/issues/11599

I'm going to close this out in favour of that issue as we generally are not accepting enhancements to the classic editor.

Note: See TracTickets for help on using tickets.