[wp-trac] [WordPress Trac] #27771: Update the TinyMCE paste plugin

WordPress Trac noreply at wordpress.org
Wed Apr 16 00:14:54 UTC 2014


#27771: Update the TinyMCE paste plugin
------------------------------+---------------------
 Reporter:  azaozz            |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.9
Component:  TinyMCE           |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------

Comment (by netweb):

 Aside from each section not keeping it's relevant anchor name from the TOC
 link I can't reproduce what @alleynoah outlined above 'unless' I am
 missing something in my Word Doc.

 We should file an issue upstream for TinyMCE to keep the TOC anchors and
 anchor name:

 Currently:
 {{{
 <a href="#_Toc385400155">Section One. 1</a>
 ....
 <h1>Section One</h1>
 }}}

 Proposed:
 {{{
 <a href="#_Toc385400155">Section One. 1</a>
 ...
 <h1>
   <a name="_Toc385400155">Section One</a>
 </h1>
 }}}

 For Reference: Here is the sample [https://i.cloudup.com/3mMz8s9Bnh.docx
 MS Word 2013] doc I used above and the full HTML clipboard source is
 [https://gist.github.com/ntwb/af2daaff050bbccde7b1 here].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27771#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list