initial commit, from drupal7base

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-17 15:40:34 +01:00
commit e787137542
5750 changed files with 1170043 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
Drupal.wysiwyg = Drupal.wysiwyg || { 'instances': {} };
Drupal.wysiwyg.editor = Drupal.wysiwyg.editor || { 'init': {}, 'attach': {}, 'detach': {}, 'instance': {} };
Drupal.wysiwyg.plugins = Drupal.wysiwyg.plugins || {};
(function ($) {
// Determine support for queryCommandEnabled().
// An exception should be thrown for non-existing commands.
// Safari and Chrome (WebKit based) return -1 instead.
try {
document.queryCommandEnabled('__wysiwygTestCommand');
$.support.queryCommandEnabled = false;
}
catch (error) {
$.support.queryCommandEnabled = true;
}
})(jQuery);