[wp-trac] [WordPress Trac] #45947: More tag breaks when switching from Text to Visual when cursor left in HTML
WordPress Trac
noreply at wordpress.org
Fri Jan 11 21:46:34 UTC 2019
#45947: More tag breaks when switching from Text to Visual when cursor left in HTML
----------------------------+-----------------------------
Reporter: jeremeylduvall | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.0.3
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
Currently, in the classic WordPress editor, I'm hitting some issues with
the "More" tag when flipping from Text to Visual.
For example:
1. Open a new post.
2. Flip to the Text editor and add some content.
3. Use the toolbar button to insert a Read More tag.
4. Place your cursor inside that tag. Click on the Visual editor.
The `<!--more-->` tag is translated to:
`" class="wp-more-tag mce-wp-more" alt="" title="Read more..." data-mce-
resize="false" data-mce-placeholder="1" />`
As a result, the tag no longer works. In my testing, this only happens
when the cursor is left inside the tag when changing from Text to Visual.
[[Image(LazwOg.gif)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45947>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list