Opened 8 years ago

Closed 8 years ago

#14403 closed Bug (duplicate)

Google Chrome - Added Unexpected <i> When Give Space after Comma.Added unexpected <b> when remove <strong> content.

Reported by: GObinath Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.7
Keywords: Cc: vignesh.bawarajendran@…, vanitha.imayavaramban@…

Description

Steps to reproduce

  1. Select an word in italics from CkEditor

ex: (<em>ckEditor, </em>FckEditor)

  1. Select Comma Alone and remove the italics

ex: (<em>ckEditor</em>,<em> </em>FckEditor)

  1. Select the Empty italic space and give backspace, then Just give space now we can see the <i> <i> tag added.

ex: (<em>ckEditor</em>,<i> </i>FckEditor)

  1. How to remove this <i> / how to avoid <i> to be added.
  2. Note:This can be reproduce in Google chrome browser in Ckeritor Demo Page(http://ckeditor.com/demo). This can not be reproduce with IE.

6.I attached the Video for Reproduce.

Expected result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space.

<em>Ckeditor</em>, FckEditor

Actual result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space but the actual result is add the <i> tag unexpectedly.

<em>CkEditor</em>,<i> <i>FckEditor.

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

This can not be reproduce with IE, It can Reproduce with Chorme.

Attachments (4)

Step4.png (140.0 KB) - added by GObinath 8 years ago.
Step3.png (139.7 KB) - added by GObinath 8 years ago.
STEP2.png (140.4 KB) - added by GObinath 8 years ago.
Step1.png (143.6 KB) - added by GObinath 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by GObinath

Attachment: Step4.png added

Changed 8 years ago by GObinath

Attachment: Step3.png added

Changed 8 years ago by GObinath

Attachment: STEP2.png added

Changed 8 years ago by GObinath

Attachment: Step1.png added

comment:1 Changed 8 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed

DUP of #13224.

NOTE: CKEditor uses em by default which overwrites i. Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-coreStyles_italic. When you switch to source mode or get data from editor with getData method (used when you submit editor contents) the i will be changed to em.

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