Opened 11 years ago
Closed 11 years ago
#11351 closed Bug (invalid)
Allow empty anchor tags (A-tag)
Reported by: | Vlad | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
CKEditor with disabled ACF cuts off empty A-tag which widely used to create a visual buttons.
Steps to reproduce:
- Open http://ckeditor.com/demo#standard
- Click 'Source' button.
- Put this code into textarea:
<style> .btn {
background-image:url(http://example.com/button.png); background-repeat:no-repeat; background-position:top right; display:block; width:333px; height:80px;
} </style> <a class="btn" href="http://example.com" target="_blank"></a>
- Switch back to editor and then switch back to source code.
- Expected result: A-tag will be there.
- Actual result: There is no A-tag at all.
Please help to solve this issue!
Change History (1)
comment:1 Changed 11 years ago by
Keywords: | ACF removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Version: | 4.3.1 |
Empty links have no semantic value and are invisible from algorithms operating on DOM. Therefore they are stripped and preserving them would create a lot of problems.