#34584 closed enhancement (maybelater)
Editor/TinyMCE - Enhance Blockquote Functionality to Allow Citations
Reported by: |
|
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.
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.