[wp-trac] [WordPress Trac] #37498: WYSIWYG Error?

WordPress Trac noreply at wordpress.org
Fri Sep 9 10:40:54 UTC 2016


#37498: WYSIWYG Error?
-------------------------------+------------------------------
 Reporter:  SPiNNdevs          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  4.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by SPiNNdevs):

 Hello,

 we did another test, the problem exists in all WYSIWYG editors, so I guess
 its an WordPress core problem.

 As soon as you insert an {{{ <hr />}}} without an leading line break you
 get the wrong HTML output.

 This input in an WYSIWYG in text mode:
 {{{
 <hr />
 <a class="link--download" href="http://....pdf">Bericht: Packaging</a>
 (Quelle)

 <a class="link--download" href="http://....pdf">Empfehlung: Packaging</a>
 (Quelle)
 }}}

 Resulsts in:
 {{{
 <hr />
 <a class="link--download" href="http://....pdf">Bericht: Packaging</a>
 (Quelle)</p>
 <p><a class="link--download" href="http://....pdf">Empfehlung:
 Packaging</a> (Quelle)</p>
 }}}

 So we miss a opening {{{ <p>}}} tag here.

 I think this is a problem which should be fixed?

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


More information about the wp-trac mailing list