Skip to content

Commit 5850e0e

Browse files
committed
Merge branch 't/12402'
2 parents 029327d + 41fdb3d commit 5850e0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/wysiwygarea/plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@
286286
}
287287

288288
var title = editor.document.getElementsByTag( 'title' ).getItem( 0 );
289-
title.data( 'cke-title', editor.document.$.title );
289+
// document.title is malfunctioning on Chrome, so get value from the element (#12402).
290+
title.data( 'cke-title', title.getText() );
290291

291292
// [IE] JAWS will not recognize the aria label we used on the iframe
292293
// unless the frame window title string is used as the voice label,

0 commit comments

Comments
 (0)