Opened 4 years ago

Last modified 4 years ago

#13094 confirmed Bug

Delete CR removes form html below

Reported by: Helen Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE Cc:

Description

Add text then add a form below. Add a CR after the text and then delete it with the delete key. The form html disappears.

Attachments (2)

config.js (2.5 KB) - added by Helen 4 years ago.
config.js
ckeditor_mgtsum.php (5.1 KB) - added by Helen 4 years ago.
implementation of ckeditor with form

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by Jakub Ś

Keywords: IE added; form removed
Status: newconfirmed
Version: 4.4.73.0

Problem can be reproduced from CKEditor 3.0 in IE browsers.

  1. Type text (you can press enter or not)
  2. Press Form button to insert Form
  3. Put cursor behind the text and press Enter
  4. Press Delete key

Rsult: form is removed.

comment:2 Changed 4 years ago by Helen

it happens in Chrome as well the problem is not specific to IE

comment:3 Changed 4 years ago by Jakub Ś

Please try doing this in default Chrome (without any browser custom plugins) on our demo page. If you manage to reproduce it there, please provide a screen cast because for me it works perfectly in Chrome (checked under Mac, Win7 and Ubuntu).

Perhaps there is some configuration setting needed in CKEditor in order to reproduce it in Chrome or different steps?

Changed 4 years ago by Helen

Attachment: config.js added

config.js

Changed 4 years ago by Helen

Attachment: ckeditor_mgtsum.php added

implementation of ckeditor with form

comment:4 Changed 4 years ago by Helen

chrome: demo with and without plugins - works correctly my version does not work on Chrome whether plugins enabled or not files attached, using full config, maybe you can spot where I am going wrong thanks

comment:5 Changed 4 years ago by Jakub Ś

I have reproduced this issue in Chrome once and only once. I have used your settings and fullPage mode because I saw you are using docProps plugin.

var editor = CKEDITOR.replace( 'editor1', {
	disableNativeSpellChecker : false,
	scayt_autoStartup : true,
	fullPage : true,
	toolbar :
	[
	        { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
	        { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
	        { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
	        { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',
	        'HiddenField' ] },
	        '/',
	        { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
	        { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
	        '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
	        { name: 'links', items : [ 'Link','Unlink','Anchor' ] },
	        { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
	        '/',
	        { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
	        { name: 'colors', items : [ 'TextColor','BGColor' ] },
	        { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
	]		
});

To reproduce this issue I have used exact same steps as for IE but in step 3 after pressing Enter i have been moving cursor (with arrow) in every direction before pressing delete.

I'm only mentioning this because someone may have better idea how to reproduce it. I have spent 1 hour on it and this is the bet I have got. To summarize it is hard to consider this also as Chrome issue.

Last edited 4 years ago by Jakub Ś (previous) (diff)

comment:6 Changed 4 years ago by Helen

This is only an IE problem, your demo works fine on Chrome - obviously my setup is incorrect for Chrome, but I can adjust this. Most of my users use IE so would like a fix for this before I can implement. Thanks.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy