Skip to content
Permalink
Browse files

Restrict PfLO only to content recognized by generator metatag.

  • Loading branch information
Comandeer committed Feb 11, 2020
1 parent bee39bb commit 405c0bc6e98dbeddd43bf33bcb409499fb9131d2
Showing with 1 addition and 2 deletions.
  1. +1 −2 plugins/pastefromlibreoffice/plugin.js
@@ -48,8 +48,7 @@

generatorName = CKEDITOR.plugins.pastetools.getContentGeneratorName( textHtml );

// The filter will be run also for a regular content, as there is no way to detect apropriate source under IE11 and Safari.
return generatorName ? generatorName === 'libreoffice' : true;
return generatorName === 'libreoffice';
},

handle: function( evt, next ) {

0 comments on commit 405c0bc

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