Opened 5 years ago
Closed 5 years ago
#48012 closed defect (bug) (worksforme)
Toggling from Text to Visual editing modes moves multi-paragraph <strong> and <em> tags
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.3 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
Steps to reproduce (tested with fresh WP instance, Version 5.2.3 with Classic Editor plugin v1.5):
- Create new post
- Paste in 5 paragraphs of lorem ipsum
- Edit post in "Text" mode
- Select 2 consecutive paragraphs
- Apply bold or italic to selection
- Save draft
- Switch to "Visual" mode, observe that only the first of the two paragraphs has formatting applied
- Switch back to "Text" mode, observe that the formatting tag has moved
Change History (1)
Note: See
TracTickets for help on using
tickets.
Looking at the steps to reproduce, seems you're trying to wrap paragraphs in "inline" tags. It should be the other way around: the inline tags should be inside the paragraphs. The paragraphs cannot be inside the inline tags. Something like
<p><strong>123 test</strong></p>
.