Commit de470d2a authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Issue #3322552: CKEditor 5 support

parent 3701d1f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ dependencies:
    - filter.format.webform_default
  module:
    - ckeditor
    - webform
format: webform_default
editor: ckeditor
settings:
+3 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  module:
    - webform
name: 'Webform (Default)'
format: webform_default
weight: 100
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ class WebformAccessTest extends WebformAccessBrowserTestBase {
    $this->drupalLogin($this->rootUser);
    $this->drupalGet('/admin/structure/webform/access/group/manage/manager');
    $assert_session->fieldExists('label');
    $assert_session->fieldExists('description[value]');
    $assert_session->fieldExists('description[value][value]');
    $assert_session->fieldExists('type');
    $assert_session->fieldExists('admins[]');
    $assert_session->fieldExists('users[]');
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ class WebformTemplatesTest extends WebformBrowserTestBase {

    // Check select template clears the description.
    $this->drupalGet('/admin/structure/webform/manage/test_form_template/duplicate');
    $assert_session->fieldValueEquals('description[value]', '');
    $assert_session->fieldValueEquals('description[value][value]', '');

    // Check that admin can not access manage templates.
    $this->drupalGet('/admin/structure/webform/templates/manage');
@@ -81,7 +81,7 @@ class WebformTemplatesTest extends WebformBrowserTestBase {

    // Check select template clears the description.
    $this->drupalGet('/admin/structure/webform/manage/test_form_template/duplicate', ['query' => ['template' => 1]]);
    $assert_session->fieldValueEquals('description[value]', 'Test using a webform as a template.');
    $assert_session->fieldValueEquals('description[value][value]', 'Test using a webform as a template.');
  }

}
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ class WebformUiElementTest extends WebformBrowserTestBase {

    // Add admin notes to contact name element.
    $this->drupalGet('/admin/structure/webform/manage/contact/element/name/edit');
    $edit = ['properties[admin_notes][value]' => 'This is an admin note.'];
    $edit = ['properties[admin_notes][value][value]' => 'This is an admin note.'];
    $this->submitForm($edit, 'Save');
    $assert_session->responseContains('<span data-drupal-selector="edit-webform-ui-elements-name-title-notes" class="webform-element-help js-webform-element-help" role="tooltip" tabindex="0" aria-label="Your Name" data-webform-help="&lt;div class=&quot;webform-element-help--title&quot;&gt;Your Name&lt;/div&gt;&lt;div class=&quot;webform-element-help--content&quot;&gt;This is an admin note.&lt;/div&gt;"><span aria-hidden="true">?</span></span>');

Loading