Make WordPress Core

Opened 3 years ago

Closed 14 months ago

#42587 closed enhancement (wontfix)

Added Css Classes field to wp-link in editor.

Reported by: mikhailroot Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1
Component: Editor Keywords:
Focuses: ui Cc:


Good day to WP Core developers!

Currently the only way to add css class to a link in wysiwyg is to switch editor to textual mode and add class attribute by hand.
So I've decided to add this field to wp-link editor dialog. It's helpfull when you use link as a button and you definitely don't want to style all content links as buttons, so you are able to edit class link attribute in wp-link editing dialog which is much user friendly.

Attachments (1)

Css_classes_field_for_wp_link__Consider_it_s_really_helpfull_for_developers.patch (2.9 KB) - added by mikhailroot 3 years ago.
Patch with css classes editor field for wp-link implementation.

Download all attachments as: .zip

Change History (2)

3 years ago

Patch with css classes editor field for wp-link implementation.

#1 @pento
14 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thank you for the suggestion and patch, @mikhailroot!

For the classic editor, I think this is best served by a plugin, such as WP Edit.

Note: See TracTickets for help on using tickets.