Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / modules / ckeditor / tests / modules / js / ajax-css.es6.js
1 /**
2  * @file
3  * Contains client-side code for testing CSS delivered to CKEditor via AJAX.
4  */
5
6 (function(Drupal, ckeditor, editorSettings, $) {
7   Drupal.behaviors.ajaxCssForm = {
8     attach(context) {
9       // Initialize an inline CKEditor on the #edit-inline element if it
10       // isn't editable already.
11       $(context)
12         .find('#edit-inline')
13         .not('[contenteditable]')
14         .each(function() {
15           ckeditor.attachInlineEditor(this, editorSettings.formats.test_format);
16         });
17     },
18   };
19 })(Drupal, Drupal.editors.ckeditor, drupalSettings.editor, jQuery);