Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#42587 closed enhancement (wontfix)

Added Css Classes field to wp-link in editor.

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

Description

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 7 years ago.
Patch with css classes editor field for wp-link implementation.

Download all attachments as: .zip

Change History (2)

@mikhailroot
7 years ago

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

#1 @pento
5 years 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.