[wp-trac] [WordPress Trac] #30463: Adding second link to a text in Visual editor doesn't work within a table
WordPress Trac
noreply at wordpress.org
Sun Nov 23 12:34:12 UTC 2014
#30463: Adding second link to a text in Visual editor doesn't work within a table
----------------------------------------+-----------------------------
Reporter: Dumian | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.0.1
Severity: normal | Keywords:
Focuses: javascript, administration |
----------------------------------------+-----------------------------
The problem occurs when you follow these steps:
1. Create a new page.
2. Copy the code below and paste it into Text editor:
{{{
<table>
<tbody>
<tr>
<td><img src="some-image.jpg" alt="some-image" width="150" height="150"
/></td>
</tr>
<tr>
<td>Lorem ipsum</td>
</tr>
</tbody>
</table>
}}}
3. Switch to Visual editor.
4. Click the image and Insert/Edit link, then choose any page and press
Add Link button.
5. Select whole text below the image and Insert/Edit link, then choose any
page and press Add Link button.
Second link wasn't added, in console log you can find TinyMCE related
JavaScript error.
You can put any text instead of the image and the bug still occurs. If you
will try to add a link again, then it will work.
I'm using the latest version of WordPress, all plugins are deactivated,
I've tested the bug with all default themes on two different operating
systems (Windows 7 and Ubuntu 12 with the latest Firefox and Chrome).
In case of any problems with reproducing this bug
[https://www.youtube.com/watch?v=elIS8GJlD-Q I've made also a video with
all steps.]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30463>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list