File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ CKEditor 4 Changelog
7
7
* [ #9772 ] ( http://dev.ckeditor.com/ticket/9772 ) : Custom buttons in dialog footer have different look and size (Moono, Kama).
8
8
* [ #9029 ] ( http://dev.ckeditor.com/ticket/9029 ) : Custom styles added with styleSet.add() are displayed in wrong order.
9
9
* [ #9887 ] ( http://dev.ckeditor.com/ticket/9887 ) : Disable magicline when editor.readOnly is set.
10
+ * [ #9882 ] ( http://dev.ckeditor.com/ticket/9882 ) : Fixed empty document title on getData() if set via docprops dialog.
10
11
11
12
## CKEditor 4.0.1
12
13
Original file line number Diff line number Diff line change 565
565
566
566
title : function ( element ) {
567
567
var titleText = element . children [ 0 ] ;
568
- titleText && ( titleText . value = element . attributes [ 'data-cke-title' ] || '' ) ;
568
+
569
+ // Append text-node to title tag if not present (i.e. non-IEs) (#9882).
570
+ ! titleText && append ( element , titleText = new CKEDITOR . htmlParser . text ( ) ) ;
571
+
572
+ // Transfer data-saved title to title tag.
573
+ titleText . value = element . attributes [ 'data-cke-title' ] || '' ;
569
574
}
570
575
} ,
571
576
You can’t perform that action at this time.
0 commit comments