Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#34584 closed enhancement (maybelater)

Editor/TinyMCE - Enhance Blockquote Functionality to Allow Citations

Reported by: downstairsdev Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: normal Keywords:
Cc: Focuses:

Description

I've worked on several projects where authors needed the ability to add citations to their blockquotes. Unfortunately, there's no way to do this in WordPress currently without a bit of HTML knowledge.

I propose updating the TinyMCE button to display a pop-up with fields for quote, citation, and citation link if no text is selected when the button is clicked. If text is selected, the button would maintain existing functionality 100%.

I've build a working proof-of-concept plugin showing how this could be done: ​https://github.com/devinsays/better-blockquotes. But I'd need a little more help/guidance for submitting a core patch.

@iseulde also mentioned in the #core-editor chat an alternate approach of using editable placeholders when the blockquote is inserted or selected. See related: https://core.trac.wordpress.org/ticket/32175. I also think that would be an interesting approach.

Attachments (1)

screenshot-1.jpg​ (58.4 KB ) - added by downstairsdev 11 years ago.

Download all attachments as: .zip

Change History (4)

This ticket was mentioned in ​Slack in #core-editor by downstairsdev. ​View the logs.


11 years ago

#2 @downstairsdev
11 years ago

  • Resolution → maybelater
  • Status new → closed

I released this feature as a plugin: ​https://wordpress.org/plugins/better-blockquotes/. We can see if it gets any traction and re-open as a core ticket later if we want to pursue.

#3 @netweb
11 years ago

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