File tree Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ CKEditor 4 Changelog
15
15
* [ #9893 ] ( http://dev.ckeditor.com/ticket/9893 ) : Fixed broken toolbar when editing mixed-dir content in quirks mode.
16
16
* [ #9845 ] ( http://dev.ckeditor.com/ticket/9845 ) : Fixed TAB navigation in the Link dialog and the Anchors option is used and no anchors are available.
17
17
* [ #9883 ] ( http://dev.ckeditor.com/ticket/9883 ) : Maximizing was making the entire page editable with divarea based editors.
18
+ * [ #9940 ] ( http://dev.ckeditor.com/ticket/9940 ) : With Firefox, navigating back to a page with the editor was making the entire page editable.
18
19
19
20
## CKEditor 4.0.1
20
21
Original file line number Diff line number Diff line change 508
508
}
509
509
} ) ;
510
510
511
- // Fixing Firefox 'Back-Forward Cache' breaks design mode. (#4514)
512
- if ( CKEDITOR . env . gecko ) {
513
- ( function ( ) {
514
- var body = document . body ;
515
-
516
- if ( ! body )
517
- window . addEventListener ( 'load' , arguments . callee , false ) ;
518
- else {
519
- var currentHandler = body . getAttribute ( 'onpageshow' ) ;
520
- body . setAttribute ( 'onpageshow' , ( currentHandler ? currentHandler + ';' : '' ) + 'event.persisted&&(function(){' +
521
- 'var x=CKEDITOR.instances,d,i;' +
522
- 'for(i in x){' +
523
- 'd=x[i].document;' +
524
- 'if(d){' +
525
- 'd.$.designMode="off";' +
526
- 'd.$.designMode="on";' +
527
- '}' +
528
- '}' +
529
- '})();' ) ;
530
- }
531
- } ) ( ) ;
532
-
533
- }
534
-
535
511
// DOM modification here should not bother dirty flag.(#4385)
536
512
function restoreDirty ( editor ) {
537
513
if ( ! editor . checkDirty ( ) )
You can’t perform that action at this time.
0 commit comments