Opened 12 years ago

Last modified 12 years ago

#9418 confirmed Bug

Fake element must have at least two   inside or it gets removed.

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version: 3.0
Keywords: Cc:

Description

To reproduce:

  1. Download attached file and put it in /_source/plugins/ folder.
  2. On HTML page, in instance definition add extraPlugins:'fakediv'
  3. Switch to source and paste below code:
    <div class="myfakedivsframe" >&nbsp;</div>
    
  4. Switch to WYSIWYG then again to Source and WYSIWYG

Result: Div will be removed.

This is only happening when there is nothing in div or just one blank space or one &nbsp; or one &nbsp; and blank space. If there are E.g at least two &nbsp; or one letter then everything is working as expected:

<div class="myfakedivsframe" >&nbsp;&nbsp;</div>

Attachments (1)

fakediv.zip (1.1 KB) - added by Jakub Ś 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Jakub Ś

Attachment: fakediv.zip added

comment:1 Changed 12 years ago by Jakub Ś

Component: Core : Output DataCore : Parser
Status: newconfirmed

comment:2 Changed 12 years ago by Jakub Ś

Summary: Fake element must have at least or &nbsp; inside or it gets removed.Fake element must have at least two &nbsp; inside or it gets removed.
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