Opened 9 years ago
Closed 7 years ago
#42830 closed defect (bug) (wontfix)
Automatic List coding error
| Reported by: | Wordaspect | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 4.9.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
With TinyMCE Advanced Version 4.6.7 occurs an error in coding while switching between visual and text editor
Step 1) writing in visual editor and assigning listing to boh lines:
* topic 1 * topic 2
Step 2) results in corrct coding in text editor
<ul>
<li>topic 1</li>
<li>topic 2</li>
</ul>
Step 3) insrting a break and a space in the visual editor after “topic 1”
* topic 1 * topic 2
Step 4) and switching to the text editor gives also a correct code, even so the “<br> ” is deleted:
<ul>
<li>topic 1</li>
<li>topic 2</li>
</ul>
Step 5) but switching afterwards back to the visual code results in a weard coding and the text editor has following to show:
<ul>
<li style="list-style-type: none">
<ul>
<li>topic 1</li>
</ul>
</li>
</ul>
<ul>
<li>topic 2</li>
</ul>
These works always like this with the mentioned steps above.
Change History (4)
#3
@
9 years ago
- Milestone Awaiting Review → Future Release
Hi @Wordaspect, thanks for the bug report.
Confirmed, happens only when the caret is in the <li> element or some text in there is selected and you add a <br> at the end of the <li>, and there are no other characters after it.
#4
@
7 years ago
- Milestone Future Release
- Resolution → wontfix
- Status new → closed
This is a rare edge case in the "keeping the caret position" code and is now superseded by the block editor. Closing as wontfix, feel free to reopen (preferably with a patch) if this still needs fixing in the classic editor.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replying to swissspidy:
Thank you, for the next time I know it better ;)