Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
Alexander O'Neill | dc9de6e3f0 | 6 years ago |
Alexander O'Neill | bf9d7bff3f | 6 years ago |
Alexander O'Neill | a49d463d13 | 6 years ago |
Alexander O'Neill | 78328c3129 | 6 years ago |
Alexander O'Neill | c8bf170a5b | 6 years ago |
Alexander O'Neill | 8210b1c200 | 6 years ago |
Alexander O'Neill | 475f4acd27 | 6 years ago |
6 changed files with 118 additions and 28 deletions
@ -0,0 +1,28 @@ |
|||||||
|
/** |
||||||
|
* @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); |
Loading…
Reference in new issue