Opened 9 years ago
Closed 9 years ago
#29526 closed defect (bug) (fixed)
wpviews: embedURL: double paragraphs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
The view "text" for embedURL views includes paragraphs and when view are post processed, the view "text" is wrapped in a paragraph before replacing the view with it. Result: <p><p>http://...</p></p>
. This is then undone by switchEditors.pre_wpautop
. To see it for yourself, compare tinyMCE.activeEditor.getContent();
and window.switchEditors.pre_wpautop( tinyMCE.activeEditor.getContent() );
. To reproduce you shouldn't paste the url in *visual* editor, because then the "text" will be just the URL. Instead, paste it in the text editor or save the post.
The view "text" should be the URL without anything around it.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
In 31485: