Ticket #2155 (confirmed Bug)

Opened 6 years ago

Last modified 3 years ago

Nested OL/UL doesn't get fixed on output

Reported by: fredck Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: Firefox Chrome Cc:

Description

It may happen that pasting operations inject nested <ol> and <ul> elements. The editor should fix it on output.

Steps to reproduce

  1. Paste the following in the Source view:
<ol>
    <ol>
        <li>Test</li>
    </ol>
</ol>
  1. Switch to WYSIWYG view.
  2. Switch back to Source view.

The source remains untouched, but the following is expected instead:

<ol>
    <li>&nbsp;
        <ol>
            <li>Test</li>
        </ol>
    </li>
</ol>

Note that the &nbsp; is needed to properly expand the empty <li> bullet or number for editing.

Attachments

zrzut_ekranu-9.png (6.2 KB) - added by krst 3 years ago.
CKE 3.6.2Trunk - cannot insert text between "1"-s in WYSIWYG

Change History

Changed 3 years ago by krst

CKE 3.6.2Trunk - cannot insert text between "1"-s in WYSIWYG

comment:1 Changed 3 years ago by krst

  • Keywords Firefox Chrome added
  • Version set to 3.0
  • Component changed from General to Core : Lists

Still occurs in 3.6.2Trunk for FF and Chrome.
Under IE, list is properly editable in WYSIWYG, but still no &nbsp;

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy