Opened 8 years ago

Last modified 8 years ago

#14818 confirmed Bug

Using Safari's history back when editor is maximised fails to remove CSS from HTML and Body elements.

Reported by: nwright Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description

Steps to reproduce

  1. Go to: http://ckeditor.com/demo
  2. Click the "Full featured" link on the left (to create a history step).
  3. On the Full Featured demo page click the Maximise icon to open the editor in full screen.
  4. Click the browser's history back button.

Expected result

The demo page should be displayed as before.

Actual result

The demo page loads but the HTML element is still assigned with style="position: fixed; z-index: 9995; width: 0px; height: 0px;" and the Body element with style="position: static; z-index: 9995; width: 0px; height: 0px;" resulting in the page being squashed to the lefthand side.

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

Safari Version 9.1.2 (11601.7.7)

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.10 (GitHub - master)4.0

Ok, so this might be a result of CKEditor changing styles for html and body on maximize and the fact that Page doesn't get related when back button is pressed.

We should check if there is possibility to bring back old styles when back button is pressed (perhaps beforeunload event could be used).

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