Skip to content
Permalink
Browse files

Merge branch 't/9907b' into major

  • Loading branch information...
oleq committed Feb 20, 2013
2 parents 1645260 + 2c212d7 commit 3e347c86872e6ab7d4c47743aa97d2ff5c45fe2f
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/preview/plugin.js
@@ -57,7 +57,10 @@
iLeft = Math.round( screen.width * 0.1 );
} catch ( e ) {}

editor.fire( 'contentPreview', eventData = { dataValue: sHTML } );
// (#9907) Allow data manipulation before preview is displayed.
// Also don't open the preview window when event cancelled.
if ( !editor.fire( 'contentPreview', eventData = { dataValue: sHTML } ) )
return false;

var sOpenUrl = '';
if ( isCustomDomain ) {

0 comments on commit 3e347c8

Please sign in to comment.
You can’t perform that action at this time.