diff --git a/core/misc/ajax.js b/core/misc/ajax.js index a67d919e305d96cd6b8a7e390c134de52c319631..d6b62eb4f232f7877c845e68e03f3d20d5de94b6 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -1,3 +1,5 @@ +/* cspell:ignore xmlhttprequest */ + /** * @file * Provides Ajax page updating via jQuery $.ajax. diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index bca0360374388a89003f5c8785783c0904542ffd..076d0372fe451806f3a4925143bd5c4bdae5f6ed 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -156,13 +156,6 @@ dragtable drillable dropbutton dropbuttons -drupalelementstyle -drupalelementstylecommand -drupalelementstyleediting -drupalelementstyleui -drupalhtmlbuilder -drupalmediaediting -drupalmediatoolbar editables egulias elbonia @@ -242,14 +235,12 @@ iconwrap idekey iframeupload imagecache -imagetextalternative indexname inglés inited inlines inno instantiator -interactable interruptible introspectable invalidators @@ -296,9 +287,6 @@ maximumred maxlifetime maynot mbytes -mediaimagetextalternative -mediaimagetextalternativeediting -mediaimagetextalternativeui mediumint mediumtext messagekey diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalHtmlEngine/src/index.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalHtmlEngine/src/index.js index 2e2fe9746769e8dcc923e2df1230ad396ceab039..cc1a603945fec932a5310bebe5951b2b925f36a4 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalHtmlEngine/src/index.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalHtmlEngine/src/index.js @@ -1,4 +1,5 @@ -// cspell:ignore drupalhtmlengine +// cspell:ignore drupalhtmlengine mediaimagetextalternativeediting +// cspell:ignore mediaimagetextalternativeui import DrupalHtmlEngine from './drupalhtmlengine'; /** diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/drupalimagealternativetext.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/drupalimagealternativetext.js index 18059d9d5ad39dc6c60a12887ad6b89abc088c85..afcddcc5151975e26c2914ab7e5c88f90784a5e6 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/drupalimagealternativetext.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/drupalimagealternativetext.js @@ -1,5 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore imagealternativetext imagetextalternativeediting drupalimagealternativetextediting drupalimagealternativetextui */ +/* cspell:ignore imagealternativetext imagetextalternative */ +/* cspell:ignore imagetextalternativeediting drupalimagealternativetextediting */ +/* cspell:ignore drupalimagealternativetextui */ /** * @module drupalImage/imagealternativetext diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextediting.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextediting.js index ce35fa5a225160450c6cdfb3c39198b1a138fb59..4e840a8940441a19be50f7a4d20d1fc7ec78775b 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextediting.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextediting.js @@ -1,5 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore imagealternativetext drupalimagealternativetextediting drupalimagetextalternativecommand textalternativemissingview imagetextalternativecommand */ +/* cspell:ignore imagealternativetext imagetextalternative */ +/* cspell:ignore imagetextalternativecommand drupalimagealternativetextediting */ +/* cspell:ignore drupalimagetextalternativecommand textalternativemissingview */ /** * @module drupalImage/imagealternativetext/drupalimagealternativetextediting diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextui.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextui.js index ed10936a9fa5518dd8dc04ca94900ae6c56fe74b..50abc4fe3b8217a6db072546c20bb2ea235d629b 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextui.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalImage/src/imagealternativetext/drupalimagealternativetextui.js @@ -1,5 +1,8 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore drupalimagealternativetextui contextualballoon componentfactory imagealternativetextformview missingalternativetextview imagetextalternativeui imagealternativetext */ +/* cspell:ignore imagealternativetext imagetextalternative */ +/* cspell:ignore imagetextalternativeui contextualballoon componentfactory */ +/* cspell:ignore drupalimagealternativetextui imagealternativetextformview */ +/* cspell:ignore missingalternativetextview */ /** * @module drupalImage/imagealternativetext/drupalimagealternativetextui diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstylecommand.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstylecommand.js index b84ba1d44108c93c554cc34bc56c7c75dc9d1d1b..5f0d293927f5b1a9bae9df333d7d1211aa599bf8 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstylecommand.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstylecommand.js @@ -1,4 +1,5 @@ /* eslint-disable import/no-extraneous-dependencies */ +/* cspell:ignore drupalelementstyle drupalelementstylecommand */ import { Command } from 'ckeditor5/src/core'; import { getClosestElementWithElementStyleAttribute } from './utils'; import { groupNameToModelAttributeKey } from '../utils'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleediting.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleediting.js index c2e0922a7112aa7e51cfb01c2acd740c7622e5c4..6b717b1ad0b42ec521b244d17cd19aa328ceb236 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleediting.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleediting.js @@ -1,5 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore drupalelementstylecommand */ +/* cspell:ignore drupalelementstyle drupalelementstylecommand */ +/* cspell:ignore drupalelementstyleediting */ import { Plugin, icons } from 'ckeditor5/src/core'; import { first } from 'ckeditor5/src/utils'; import DrupalElementStyleCommand from './drupalelementstylecommand'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleui.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleui.js index 40ef59ba4803f20d2a92e7abdce6d76240307599..5339c11075618fc41b747beaa8f54696707edc92 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleui.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleui.js @@ -1,5 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore drupalelementstyleediting splitbutton imagestyle componentfactory buttonview */ +/* cspell:ignore buttonview componentfactory drupalelementstyle */ +/* cspell:ignore drupalelementstylecommand drupalelementstyleui */ +/* cspell:ignore drupalelementstyleediting imagestyle splitbutton */ import { Plugin } from 'ckeditor5/src/core'; import { Collection, toMap } from 'ckeditor5/src/utils'; import utils from '@ckeditor/ckeditor5-image/src/imagestyle/utils'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalmediaediting.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalmediaediting.js index 9b9b582482a7f90b25e75d3d32e535a9651e00ba..b0f9758fe1b4dc51ef1f7925015ec863b1d76169 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalmediaediting.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalmediaediting.js @@ -1,5 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore insertdrupalmedia drupalmediaediting insertdrupalmediacommand drupalmediametadatarepository */ +/* cspell:ignore drupalmediaediting drupalmediametadatarepository */ +/* cspell:ignore imagetextalternative insertdrupalmedia */ +/* cspell:ignore insertdrupalmediacommand mediaimagetextalternative */ import { Plugin } from 'ckeditor5/src/core'; import { toWidget, Widget } from 'ckeditor5/src/widget'; @@ -327,8 +329,9 @@ export default class DrupalMediaEditing extends Plugin { // Preview was ready meaning that a new preview can be loaded. // "Change the attribute to loading to prepare for the loading of - // the updated preview. Preview is kept intact so that it remains - // interactable in the UI until the new preview has been rendered. + // the updated preview. Preview is kept intact so that it can still + // be interacted with via the UI until the new preview has been + // rendered. viewWriter.setAttribute( 'data-drupal-media-preview', 'loading', diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/index.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/index.js index e0ea27218d5d1d92d0e221962149accfd31eff61..109787168eed860cd072e81d422f1e8cd571c835 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/index.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/index.js @@ -1,17 +1,12 @@ /* eslint-disable import/no-extraneous-dependencies */ -// cspell:ignore mediaimagetextalternative drupalmediacaption +/* cspell:ignore drupalelementstyle drupallinkmedia drupalmediacaption */ +/* cspell:ignore mediaimagetextalternativeediting mediaimagetextalternativeui */ +/* cspell:ignore mediaimagetextalternative */ import DrupalMedia from './drupalmedia'; - -// cspell:ignore drupallinkmedia import DrupalLinkMedia from './drupallinkmedia/drupallinkmedia'; - -// cspell:ignore drupalelementstyle import DrupalElementStyle from './drupalelementstyle'; - import DrupalMediaCaption from './drupalmediacaption'; - -// cspell:ignore mediaimagetextalternative import MediaImageTextAlternative from './mediaimagetextalternative'; import MediaImageTextAlternativeEditing from './mediaimagetextalternative/mediaimagetextalternativeediting'; import MediaImageTextAlternativeUi from './mediaimagetextalternative/mediaimagetextalternativeui'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/insertdrupalmedia.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/insertdrupalmedia.js index bf9c6451e5330880b689017e3fcf8ade05f0f9f7..ba4c4409488e7866d59c57fca264aa05b4c35b5b 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/insertdrupalmedia.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/insertdrupalmedia.js @@ -1,5 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ -// cspell:ignore insertdrupalmediacommand +/* cspell:ignore drupalelementstyle drupalelementstyleediting */ +/* cspell:ignore insertdrupalmediacommand */ import { Command } from 'ckeditor5/src/core'; import { groupNameToModelAttributeKey } from './utils'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative.js index 48f621422e1b48ee243d9474e549c8669f1b094b..aa6943c83d203ad1b84abd898017d968451146c3 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative.js @@ -1,4 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ +/* cspell:ignore mediaimagetextalternative mediaimagetextalternativeediting */ +/* cspell:ignore mediaimagetextalternativeui */ import { Plugin } from 'ckeditor5/src/core'; import MediaImageTextAlternativeEditing from './mediaimagetextalternative/mediaimagetextalternativeediting'; import MediaImageTextAlternativeUi from './mediaimagetextalternative/mediaimagetextalternativeui'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeediting.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeediting.js index 984058ccf108f1897f0ad99ce4ccc488926d4aaa..8d293d513d235f9e9ded91d8259439f53f2af1d2 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeediting.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeediting.js @@ -1,5 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore mediaimagetextalternativecommand drupalmediametadatarepository insertdrupalmediacommand */ +/* cspell:ignore drupalmediametadatarepository insertdrupalmediacommand */ +/* cspell:ignore mediaimagetextalternative mediaimagetextalternativecommand */ +/* cspell:ignore mediaimagetextalternativeediting */ import { Plugin } from 'ckeditor5/src/core'; import { Template } from 'ckeditor5/src/ui'; diff --git a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeui.js b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeui.js index 23546e1acabd9241afe57c51fab8df61cae54402..151fb2a30293da5bb8ee79b073bd0599d562a45d 100644 --- a/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeui.js +++ b/core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/mediaimagetextalternative/mediaimagetextalternativeui.js @@ -1,5 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ -/* cspell:ignore textalternativeformview */ +/* cspell:ignore imagetextalternative mediaimagetextalternative */ +/* cspell:ignore mediaimagetextalternativeediting textalternativeformview */ import { Plugin, icons } from 'ckeditor5/src/core'; import { diff --git a/core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php b/core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php index 2f539f8b7db10583378fb5bab59c68fb5cee9c06..64d4dc0f86868a72049f051dfcebee5de8265632 100644 --- a/core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php +++ b/core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php @@ -19,6 +19,8 @@ use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; +// cspell:ignore mediaimagetextalternative mediaimagetextalternativeui + /** * Provides an API for checking if a media entity has image field. * diff --git a/core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.module b/core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.module index e34f1284685508d394a3cc0b60d486c3940f3105..aa52b6444ae496e38688b6ec290b9e9b2826dd2c 100644 --- a/core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.module +++ b/core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.module @@ -9,6 +9,8 @@ use Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition; +// cspell:ignore drupalelementstyle + /** * Implements hook_ckeditor4to5upgrade_plugin_info_alter(). */ diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php index 69c708759a6cca1199533e7018582ed92b5cce45..d380114dfe7d35945d93eb19fd532029fb1f3630 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php @@ -4,7 +4,7 @@ namespace Drupal\Tests\ckeditor5\FunctionalJavascript; -// cspell:ignore sourceediting +// cspell:ignore sourceediting xmlhttprequest /** * Tests for CKEditor 5 in the admin UI. diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php index 88ded5539830b743d23905ecfc976e245e14b567..fe74ff25997e84cbbdfc284c62fe5d2864434ae2 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php @@ -7,6 +7,8 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Tests\media\Traits\MediaTypeCreationTrait; +// cspell:ignore drupalmediatoolbar + /** * Tests for CKEditor 5 plugins using Drupal's translation system. * diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php index 3eb2986d5472056df9c78021d7da66c56edcea8b..0c22bc79caa365ec64452d3d8b8b0400d79e7b74 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php @@ -8,6 +8,8 @@ use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\filter\Entity\FilterFormat; +// cspell:ignore drupalmediaediting + /** * @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media * @group ckeditor5 diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php index 368fcc422e3b6a09956be07c8b69351e805e715b..456e01bc8663864d91923f9d6103b98b3c897405 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php @@ -17,7 +17,8 @@ use Drupal\user\RoleInterface; use Symfony\Component\Validator\ConstraintViolationInterface; -// cspell:ignore alternatif hurlant layercake tatou texte zartan +// cspell:ignore alternatif drupalelementstyle hurlant layercake tatou texte +// cspell:ignore zartan /** * @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media diff --git a/core/modules/ckeditor5/tests/src/Nightwatch/Tests/drupalHtmlBuilderTest.js b/core/modules/ckeditor5/tests/src/Nightwatch/Tests/drupalHtmlBuilderTest.js index 5db672324dcb90fb556c011ad839b2a882286459..3050f1845a75d0d4d212fa51251ffb0c5a11f1c6 100644 --- a/core/modules/ckeditor5/tests/src/Nightwatch/Tests/drupalHtmlBuilderTest.js +++ b/core/modules/ckeditor5/tests/src/Nightwatch/Tests/drupalHtmlBuilderTest.js @@ -1,3 +1,4 @@ +// cspell:ignore drupalhtmlbuilder const assert = require('node:assert'); const fs = require('node:fs'); const path = require('node:path'); diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php index e44d769b01362c3e393228a2261d0b274847af48..49c0ea9e8e4c5658dcdce476c166b0cde9a74d90 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php @@ -15,7 +15,7 @@ use PHPUnit\Framework\Constraint\LogicalNot; use WebDriver\Exception; -// cspell:ignore interactable +// cspell:ignore interactable xmlhttprequest /** * Defines a class with methods for asserting presence of elements during tests.