Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 3 years ago

#3472 closed enhancement (wontfix)

Make tinymce support more attributes on a-tags (links)

Reported by: dpryo Owned by:
Priority: low Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc: Focuses:

Description

Would it be an idea to have a more flexible system for adding attributes to a-tags?

It might be too advanced.

Anyway, it would be nice to have a 'RELATIONSHIP'-attribute on links.

Or even a hook-api on the editor, to enable more features. (I don't see that there is any now? Might be wrong, sorry :)

This is useful for enabling lightbox for instance, without hacking the html :)

I attached a sample patch for adding the new element..

Attachments (1)

wp_editor_patch​ (5.4 KB ) - added by dpryo 20 years ago.
Adding REL-attribute to link editor

Download all attachments as: .zip

Change History (3)

@dpryo
20 years ago

Adding REL-attribute to link editor

#1 @andy
20 years ago

  • Resolution → wontfix
  • Status new → closed

Being javascript, and equipped with several wp hooks (see tiny_mce_config.php), our TinyMCE is very pluggable.

Adding the rel attribute to the link editor will do more harm than good across the WP user base. This is stuff for plugins.

Nice patch by the way. :-)

#2 @foolswisdom
20 years ago

  • Milestone 2.2
Note: See TracTickets for help on using tickets.