Opened 3 years ago

Closed 3 years ago

#14402 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:
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.

Change History (1)

comment:1 Changed 3 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Version: 4.5.7

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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy