For more information about this repository, visit the project page at https://www.drupal.org/project/bibcite_footnotes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
664 B
28 lines
664 B
/** |
|
* @file |
|
* Provides JavaScript additions to entity embed dialog. |
|
* |
|
* This file provides popup windows for previewing embedded entities from the |
|
* embed dialog. |
|
*/ |
|
|
|
(function ($, Drupal) { |
|
|
|
"use strict"; |
|
|
|
Drupal.behaviors.bibciteFootnotesReplaceCitations = { |
|
attach: function attach(context, settings) { |
|
/* |
|
if (CKEDITOR.instances) { |
|
for (var instance in CKEDITOR.instances) { |
|
var editor = CKEDITOR.instances[instance]; |
|
var config = editor.config; |
|
var name = editor.name; |
|
editor.destroy(); |
|
CKEDITOR.replace(name, config); |
|
} |
|
} |
|
*/ |
|
} |
|
} |
|
})(jQuery, Drupal);
|
|
|