[wp-trac] [WordPress Trac] #34584: Editor/TinyMCE - Enhance Blockquote Functionality to Allow Citations
WordPress Trac
noreply at wordpress.org
Wed Nov 4 18:32:09 UTC 2015
#34584: Editor/TinyMCE - Enhance Blockquote Functionality to Allow Citations
---------------------------+-----------------------------
Reporter: downstairsdev | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34584>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list