Changes between Initial Version and Version 1 of Ticket #42681
- Timestamp:
- 11/23/2017 03:30:36 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42681 – Description
initial v1 3 3 You can reproduce this error by: 4 4 - opening a new post 5 - adding <div> </div>in the text editor *5 - adding `<div> </div>` in the text editor * 6 6 - press the ‘publish’ button 7 7 - switch back to the visual editor 8 8 - 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>` 10 10 11 Actual result: <div> http://www.google.com </div>12 Expected result: <div> <a href=“http://google.com”>http://google.com</a> </div>11 Actual result: `<div> http://www.google.com </div>` 12 Expected result: `<div> <a href=“http://google.com”>http://google.com</a> </div>` 13 13 14 14 This error didn’t happen in WordPress 4.8.2, but it does in WordPress 4.9. 15 15 16 16 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 editor17 *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