Opened 7 years ago

Last modified 4 years ago

#2155 confirmed Bug

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 (1)

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

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by krst

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

comment:1 Changed 4 years ago by krst

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

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 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy