Opened 10 years ago

Last modified 10 years ago

#11522 confirmed Bug

Select all, replace text loses formatting on firefox

Reported by: zacaway Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version:
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

Using current standard CKEditor demo:

  1. Select all the content in the demo editor and delete it.
  2. Enter some text (e.g. "original").
  3. Press Ctrl-A (or Cmd-A on Mac) to select all the text.
  4. Hit the Bold button to bold the text.
  5. Press Ctrl-A again to re-select all (even if it is already selected).
  6. Type in some new text (e.g. "new"), which will replace the original text.

On Chrome and Safari, the new text is bold (i.e. it retains the styling of the original text). On Firefox and IE11, the new text does not retain the original styling; it just gets the default styling.

I think the Chrome and Safari behaviour is correct, so Firefox and IE11 should work the same way.

Related issues: #11162, #8439, #8440.

Change History (1)

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

Description: modified (diff)
Keywords: firefox selection removed
Status: newconfirmed
Version: 4.3.3 (GitHub - master)

This is caused by differences between browsers.

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