Opened 8 years ago

Closed 8 years ago

#16924 closed Bug (invalid)

Copy/pasting Widgets has issues

Reported by: Dennis Jakobsen Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Cut a Widget (that has widget class set to display:inline)
  2. Paste Widget back

Expected result

Widget should stay inline

Actual result

Widget is now a block element again

Other details (browser, OS, CKEditor version, installed plugins)

I have this rule which works when inserting the widget .cke_widget_simplebox { display: inline; }

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.6.2

A perfect example of inline widget is placeholder. If you look how it works in SDK, you will notice that its inline even after drag and drop.

The Simple Box is not an inline widget. It contains block elements inside like div or h2. it is not enough to assign CSS rule to a widget. HTML inside it has to be inline.

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