Opened 16 years ago

Last modified 13 years ago

#2155 confirmed Bug

Nested OL/UL doesn't get fixed on output

Reported by: Frederico Caldeira Knabben 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 Krzysztof Studnik 13 years ago.
CKE 3.6.2Trunk - cannot insert text between "1"-s in WYSIWYG

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Krzysztof Studnik

Attachment: zrzut_ekranu-9.png added

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

comment:1 Changed 13 years ago by Krzysztof Studnik

Component: GeneralCore : Lists
Keywords: Firefox Chrome added
Version: 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy