Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#34584 closed enhancement (maybelater)

Editor/TinyMCE - Enhance Blockquote Functionality to Allow Citations

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

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 9 years ago.

Download all attachments as: .zip

Change History (4)

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


9 years ago

#2 @downstairsdev
9 years ago

  • Resolution set to maybelater
  • Status changed from new to 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
9 years ago

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