aloha/drupal/lib/drupalcontenthandler.js

this bug appears when trying to paste.

when allowed tags list is empty, sanitize isn't loaded and a white list of allowed tags is provided by setting.basic

refactoring of code has made access to setting.basic through this.setting.basic out of scope. solution is to add to current scope.

--- a/aloha/drupal/lib/drupalcontenthandler.js
+++ b/aloha/drupal/lib/drupalcontenthandler.js
@@ -39,6 +39,9 @@ define([
     };
 
     var DrupalContentHandler = ContentHandlerManager.createHandler({
+      // bring setting into scope
+      setting: setting,
+
       /**
        * Handle the content from eg. paste action and sanitize the html
        * @param content