Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42681


Ignore:
Timestamp:
11/23/2017 03:30:36 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42681 – Description

    initial v1  
    33You can reproduce this error by:
    44- opening a new post
    5 - adding <div> </div> in the text editor *
     5- adding `<div> </div>` in the text editor *
    66- press the ‘publish’ button
    77- switch back to the visual editor
    88- add a link via the ‘insert’ link button (for example: www.google.com)
    9 - switch to the text editor and notice that the result is not a link element but just :<div> http://www.google.com</div>
     9- switch to the text editor and notice that the result is not a link element but just: `<div> http://www.google.com</div>`
    1010
    11 Actual result: <div> http://www.google.com </div>
    12 Expected result: <div> <a href=“http://google.com”>http://google.com</a> </div>
     11Actual result: `<div> http://www.google.com </div>`
     12Expected result: `<div> <a href=“http://google.com”>http://google.com</a> </div>`
    1313
    1414This error didn’t happen in WordPress 4.8.2, but it does in WordPress 4.9.
    1515
    1616
    17 *please note that from here on, everything in your editor is placed within div elements automatically. For example, just pressing the ‘enter’ button leads to new<div> </div> elements in your text editor
     17*please note that from here on, everything in your editor is placed within div elements automatically. For example, just pressing the ‘enter’ button leads to new `<div> </div>` elements in your text editor