Opened 9 years ago
Closed 6 years ago
#40204 closed defect (bug) (maybelater)
Pasting a URL over a shortcode attribute shouldn't produce a link
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.3 |
| Component: | Editor | Keywords: | needs-patch |
| Focuses: | javascript, administration | Cc: |
Description
Steps to reproduce:
- Ensure you're on the Visual tab in the post editor.
- Add the following shortcode to the post content:
[foo bar="http://example.com"]. - Copy a different URL into your clipboard and paste it over the contents of the
barattribute.
Expected behaviour is that the URL gets replaced with the URL from your clipboard.
Actual behaviour is that the value of the bar attribute gets converted into a link anchor, due to the automatic linking functionality in the editor.
Related: #38628.
Change History (2)
Note: See
TracTickets for help on using
tickets.
@johnbillion
I get this when you view in the text editor, so copied the Google URL and pasted in visual tab of the editor, over the http://example.com original URL.