Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#42587 closed enhancement (wontfix)

Added Css Classes field to wp-link in editor.

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

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

Download all attachments as: .zip

Change History (2)

@mikhailroot
9 years ago

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

#1 @pento
7 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

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.