mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -599,7 +599,7 @@ function edButton(id, display, tagStart, tagEnd, access, open) {
|
||||
};
|
||||
qt.FullscreenButton.prototype = new qt.Button();
|
||||
qt.FullscreenButton.prototype.callback = function(e, c) {
|
||||
if ( c.id != 'content' || typeof(fullscreen) == 'undefined' )
|
||||
if ( !c.id || typeof(fullscreen) == 'undefined' )
|
||||
return;
|
||||
|
||||
fullscreen.on();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
ed.addCommand('wpFullScreenInit', function() {
|
||||
var d, b, fsed;
|
||||
|
||||
ed = tinymce.get('content');
|
||||
ed = tinyMCE.activeEditor;
|
||||
d = ed.getDoc();
|
||||
b = d.body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user