Opened 11 years ago

Last modified 11 years ago

#11112 confirmed Bug

[Chrome] Copy + apply list + change list type -> break inline wdget

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc:

Description (last modified by Piotr Jasiun)

  1. open Chrome.
  2. open "Mathematical Formulas" sample.
  3. Select any widget.
  4. Copy (Ctrl+C).
  5. Click in the middle of the first paragraph.
  6. Paste widget (Ctrl+V).
  7. Apply numbered list on this paragraph.
  8. Change paragraph type to bulleted list.

Result:

<span tabindex="-1" contenteditable="false" data-cke-widget-wrapper="1" data-cke-filter="off" class="cke_widget_wrapper cke_widget_inline cke_widget_selected" data-cke-display-name="math" data-cke-widget-id="6">
	<span class="math-tex cke_widget_element" data-cke-survive="1" data-cke-widget-data="{&quot;math&quot;:&quot;\\(k\\)&quot;}" data-cke-widget-keep-attr="0" data-widget="mathjax" style="display: inline-block;">
		<iframe style="border: 0px; width: 12px; height: 19px; display: inline; vertical-align: middle;" scrolling="no" frameborder="0" allowtransparency="true" src="javascript:void(0)"></iframe>
		<iframe style="border: 0px; width: 12px; height: 19px; display: inline; vertical-align: middle;" scrolling="no" frameborder="0" allowtransparency="true" src="javascript:void(0)"></iframe>
	</span>
	<img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D" class="cke_reset cke_widget_mask">
	<span class="cke_reset cke_widget_drag_handler_container" style="background-color: rgba(220, 220, 220, 0.498039); background-image: url(http://presets.ckeditor.dev/4.3/full-all/ckeditor/plugins/widget/images/handle.png); top: -15px; left: 0px; background-position: initial initial; background-repeat: initial initial;">
		<img class="cke_reset cke_widget_drag_handler" data-cke-widget-drag-handler="1" src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D" width="15" title="Click and drag to move" height="15" draggable="true">
	</span>
	<img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D" class="cke_reset cke_widget_mask">
	<span class="cke_reset cke_widget_drag_handler_container" style="background-color: rgba(220, 220, 220, 0.498039); background-image: url(http://presets.ckeditor.dev/4.3/full-all/ckeditor/plugins/widget/images/handle.png); top: -15px; left: 0px; background-position: initial initial; background-repeat: initial initial;">
		<img class="cke_reset cke_widget_drag_handler" data-cke-widget-drag-handler="1" src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D" width="15" title="Click and drag to move" height="15" draggable="true">
	</span>
</span>

The same happens with placehoder plugin.

Change History (11)

comment:1 Changed 11 years ago by Marek Lewandowski

Status: newconfirmed

comment:2 Changed 11 years ago by Piotr Jasiun

Description: modified (diff)

comment:4 Changed 11 years ago by Marek Lewandowski

Yup most likely due to this issue i am able to reproduce such situation although it's after some hardcore copy'n'paste'n'list situation. I dont have exact TC for that though.

comment:5 Changed 11 years ago by Piotr Jasiun

Description: modified (diff)

comment:6 Changed 11 years ago by Piotr Jasiun

A was able to reproduce it with image2 plugin as well: https://drive.google.com/file/d/0B3ZPryvDDIOPQjRBT3Z4ZVVyZkk/edit?usp=sharing

comment:7 Changed 11 years ago by Piotr Jasiun

Milestone: CKEditor 4.3.1

comment:8 Changed 11 years ago by Piotrek Koszuliński

Summary: [Chrome]copy + apply list + change list type -> break inline wdget[Chrome] Copy + apply list + change list type -> break inline wdget

comment:9 Changed 11 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3.1CKEditor 4.3.2

Rearranged tickets due to new ones which have high priority.

comment:10 Changed 11 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3.2

Edge case. Let's work on more important tickets first.

comment:11 Changed 11 years ago by Marek Lewandowski

This ticket might reuse solution of #11281 issue.

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