Loading core/modules/ckeditor5/ckeditor5.module +2 −4 Original line number Diff line number Diff line Loading @@ -50,10 +50,8 @@ function ckeditor5_help($route_name, RouteMatchInterface $route_match) { $output .= '<dt>' . t('Generating accessible content') . '</dt>'; $output .= '<dd>'; $output .= '<ul>'; // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3230230 // $output .= '<li>' . t('HTML tables can be created with table headers and caption/summary elements.') . '</li>'; // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3222757 // $output .= '<li>' . t('Alt text is required by default on images added through CKEditor (note that this can be overridden).') . '</li>'; $output .= '<li>' . t('HTML tables can be created with table headers and caption/summary elements.') . '</li>'; $output .= '<li>' . t('Alt text is required by default on images added through CKEditor (note that this can be overridden).') . '</li>'; $output .= '<li>' . t('Semantic HTML5 figure/figcaption are available to add captions to images.') . '</li>'; $output .= '<li>' . t('To support multilingual page content, CKEditor 5 can be configured to include a language button in the toolbar.') . '</li>'; $output .= '</ul>'; Loading core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupallinkmedia/drupallinkmediaediting.js +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ function editingDowncastMediaLink() { // element which makes caused re-render of the media preview, making // the media preview flicker once when media is unlinked. // @todo ensure that this doesn't cause flickering after // https://www.drupal.org/i/3246380 has been addressed. // https://www.drupal.org/i/3304834 has been addressed. writer.move( writer.createRangeIn(linkInMedia), writer.createPositionAt(mediaContainer, 0), Loading core/modules/ckeditor5/src/SmartDefaultSettings.php +1 −1 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ public function computeSmartDefaultSettings(?EditorInterface $text_editor, Filte // Overwrite the Editor config entity object's $filterFormat property, to // prevent calls to Editor::hasAssociatedFilterFormat() and // Editor::getFilterFormat() from loading the FilterFormat from storage. // @todo Remove in https://www.drupal.org/project/ckeditor5/issues/3218985. // @todo Remove in https://www.drupal.org/project/ckeditor5/issues/3231347. $reflector = new \ReflectionObject($text_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); Loading core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php +5 −7 Original line number Diff line number Diff line Loading @@ -739,16 +739,14 @@ public function testAlt() { // Test that setting alt value to two double quotes will signal to the // MediaEmbed filter to unset the attribute on the media image field. // We intentionally add a space space after the two double quotes to test // the string is trimmed to two quotes. // We intentionally add a space after the two double quotes to test that the // string is trimmed to two quotes. $alt_override_input->setValue('"" '); $this->getBalloonButton('Save')->click(); // Verify that the two double quote empty alt indicator ('""') set in // the dialog has successfully resulted in a media image field with the // alt attribute present but without a value. // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3206522. // @codingStandardsIgnoreLine // $this->assertNotEmpty($assert_session->waitForElementVisible('css', 'drupal-media img[alt=""]')); // the alt text form balloon has successfully resulted in a media image // field with the alt attribute present but without a value. $this->assertNotEmpty($assert_session->waitForElementVisible('css', '[data-media-embed-test-view-mode] img[alt=""]')); // Test that the downcast drupal-media element's alt attribute now has the // empty string indicator. Loading core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public function providerAllowingExtraAttributes(): array { ], // Edge case: `style`. // @todo https://www.drupal.org/project/drupal/issues/3260857 // @todo https://www.drupal.org/project/drupal/issues/3304832 // Edge case: `type` attribute on lists. // @todo Remove in https://www.drupal.org/project/drupal/issues/3274635. Loading Loading
core/modules/ckeditor5/ckeditor5.module +2 −4 Original line number Diff line number Diff line Loading @@ -50,10 +50,8 @@ function ckeditor5_help($route_name, RouteMatchInterface $route_match) { $output .= '<dt>' . t('Generating accessible content') . '</dt>'; $output .= '<dd>'; $output .= '<ul>'; // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3230230 // $output .= '<li>' . t('HTML tables can be created with table headers and caption/summary elements.') . '</li>'; // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3222757 // $output .= '<li>' . t('Alt text is required by default on images added through CKEditor (note that this can be overridden).') . '</li>'; $output .= '<li>' . t('HTML tables can be created with table headers and caption/summary elements.') . '</li>'; $output .= '<li>' . t('Alt text is required by default on images added through CKEditor (note that this can be overridden).') . '</li>'; $output .= '<li>' . t('Semantic HTML5 figure/figcaption are available to add captions to images.') . '</li>'; $output .= '<li>' . t('To support multilingual page content, CKEditor 5 can be configured to include a language button in the toolbar.') . '</li>'; $output .= '</ul>'; Loading
core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupallinkmedia/drupallinkmediaediting.js +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ function editingDowncastMediaLink() { // element which makes caused re-render of the media preview, making // the media preview flicker once when media is unlinked. // @todo ensure that this doesn't cause flickering after // https://www.drupal.org/i/3246380 has been addressed. // https://www.drupal.org/i/3304834 has been addressed. writer.move( writer.createRangeIn(linkInMedia), writer.createPositionAt(mediaContainer, 0), Loading
core/modules/ckeditor5/src/SmartDefaultSettings.php +1 −1 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ public function computeSmartDefaultSettings(?EditorInterface $text_editor, Filte // Overwrite the Editor config entity object's $filterFormat property, to // prevent calls to Editor::hasAssociatedFilterFormat() and // Editor::getFilterFormat() from loading the FilterFormat from storage. // @todo Remove in https://www.drupal.org/project/ckeditor5/issues/3218985. // @todo Remove in https://www.drupal.org/project/ckeditor5/issues/3231347. $reflector = new \ReflectionObject($text_editor); $property = $reflector->getProperty('filterFormat'); $property->setAccessible(TRUE); Loading
core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php +5 −7 Original line number Diff line number Diff line Loading @@ -739,16 +739,14 @@ public function testAlt() { // Test that setting alt value to two double quotes will signal to the // MediaEmbed filter to unset the attribute on the media image field. // We intentionally add a space space after the two double quotes to test // the string is trimmed to two quotes. // We intentionally add a space after the two double quotes to test that the // string is trimmed to two quotes. $alt_override_input->setValue('"" '); $this->getBalloonButton('Save')->click(); // Verify that the two double quote empty alt indicator ('""') set in // the dialog has successfully resulted in a media image field with the // alt attribute present but without a value. // @todo Uncomment this in https://www.drupal.org/project/ckeditor5/issues/3206522. // @codingStandardsIgnoreLine // $this->assertNotEmpty($assert_session->waitForElementVisible('css', 'drupal-media img[alt=""]')); // the alt text form balloon has successfully resulted in a media image // field with the alt attribute present but without a value. $this->assertNotEmpty($assert_session->waitForElementVisible('css', '[data-media-embed-test-view-mode] img[alt=""]')); // Test that the downcast drupal-media element's alt attribute now has the // empty string indicator. Loading
core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public function providerAllowingExtraAttributes(): array { ], // Edge case: `style`. // @todo https://www.drupal.org/project/drupal/issues/3260857 // @todo https://www.drupal.org/project/drupal/issues/3304832 // Edge case: `type` attribute on lists. // @todo Remove in https://www.drupal.org/project/drupal/issues/3274635. Loading