Follow-up to #2598070: [regression] CKEditor Link button does not show if HTML filtering is enabled

Problem/Motivation

In the parent issue we had to remove the styles attribute of the CKEditor widget definitions because of a CKEditor Core issue.
Now this issue has been fixed, we can introduce that styles back to show the best practices to other CKEditor plugin developpers.

Proposed resolution

Revert #2598070: [regression] CKEditor Link button does not show if HTML filtering is enabled

Remaining tasks

Patch, Review, Commit

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 drupal_ckeditor_styles-2728893-2.patch1.41 KBduaelfr

Comments

DuaelFr created an issue. See original summary.

duaelfr’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.41 KB
wim leers’s picture

Title: Bring back styles to CKEditor plugins » Bring back 'styles' to widget definitions in Drupal core's CKEditor plugins
Issue tags: +Needs manual testing
duaelfr’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs manual testing

I carefully tried to reproduce the regression from #2598070: [regression] CKEditor Link button does not show if HTML filtering is enabled with that patch applied without success.
Any of my random other tests in the CKEditor UI and the Editor settings have shown any malfunction.
It's RTBC for me.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: drupal_ckeditor_styles-2728893-2.patch, failed testing.

duaelfr’s picture

Status: Needs work » Reviewed & tested by the community

\o/ The tesbot is happy again ;)

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: drupal_ckeditor_styles-2728893-2.patch, failed testing.

The last submitted patch, 2: drupal_ckeditor_styles-2728893-2.patch, failed testing.

The last submitted patch, 2: drupal_ckeditor_styles-2728893-2.patch, failed testing.

The last submitted patch, 2: drupal_ckeditor_styles-2728893-2.patch, failed testing.

thpoul’s picture

Status: Needs work » Reviewed & tested by the community

Random fail, back to RTBC

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs tests

Now we have javascript tests this is testable.

duaelfr’s picture

@alexpott I don't get it. What do you want us to test here? There is nothing interesting to be tested. Just 4 lines of empty JS to "show the best practices to other CKEditor plugin developpers."
Could you help me to push this issue forward, please?

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

thpoul’s picture

Quoting alexpott from IRC regarding my question on what kind of test is needed here:

11:02  thpoul: A test which does the steps to reproduce of the original issue would seem to be a good idea... https://www.drupal.org/node/2598070

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Project: Drupal core » CKEditor 4 - WYSIWYG HTML editor
Version: 9.4.x-dev » 1.0.x-dev
Component: ckeditor.module » Code

CKEditor has been removed from core, CKEditor 4 is removed from Drupal Core in 10.0.0