[wp-trac] [WordPress Trac] #42059: Editor: preview for embedding from URL breaks on switching Text to Visual when selected

WordPress Trac noreply at wordpress.org
Fri Oct 6 15:14:27 UTC 2017


#42059: Editor: preview for embedding from URL breaks on switching Text to Visual
when selected
-------------------------------------+-----------------------
 Reporter:  azaozz                   |       Owner:  biskobe
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.9
Component:  Editor                   |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by biskobe):

 `42059.2.diff` adds some more improvements over the previous patch:

 * A fix for a JS error that was reported in #40854 (
 [https://core.trac.wordpress.org/ticket/40854#comment:33] ).
 * Introduced Editor settings/properties to allow/disallow selection
 keeping and scrolling to the selected position.
   * They're false by default.
 * A minor cleanup to remove a parameter that was passed, but wasn't
 required by the function.

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


More information about the wp-trac mailing list