Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
ckeditor5.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 May 2022 at 12:00 UTC
Updated:
14 Oct 2022 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
bnjmnmComment #5
wim leersComment #6
pooja saraah commentedAttached patch against 9.5.x
Comment #7
pooja saraah commentedfixed the failed patch #6
Attached inter diff
Comment #8
pooja saraah commentedComment #9
vinmayiswamy commentedI verified and tested patch #7 in Drupal 9.5.x version. Patch applied successfully and looks good to me.
Comment #10
quietone commentedAdding parent
Comment #11
wim leersPatch no longer applies.
Actually, #3206522: Add FunctionalJavascript test coverage for media library landed and it forgot to uncomment this test assertion. 🙈 Let's uncomment it and get rid of the
@todo! (And hope it passes 😅)@bnjmnm: Why this addition? We analyzed this in excruciating detail in #3271094: Move Media CKEditor 4 integration into CKEditor in mid-June and AFAICT everything is in the right place now; we do not need to add this (anymore)?
Comment #12
ravi.shankar commentedAdded reroll of patch #7 on Drupal 9.5.x. and made changes as per comment #11.1.
Keeping the status needs work for point number 2 of comment #11.
Comment #13
wim leersLooks like this is failing now?! 😬
Comment #14
bnjmnmComment #15
bnjmnmComment #16
bnjmnmHey it's bnjmnm with all the custom commands failed!
Comment #17
wim leersConflicts with #3304731: Update remaining tests using Classy to use Starterkit, which landed this morning. Rerolled.
Comment #18
wim leers✅ Both of those issues have been fixed a long time ago!
🤔 Why this change?
This is an intentional addition made in #3247683: Disable CKEditor 5's automatic link decorators (in Drupal filters should be used instead), AFAICT we should keep it?
✅ ("forbidden" was removed in core, the issue referenced here was marked as outdated/obsolete because of that!)
⚠️ BUT! This actually has already been removed from the
10.0.xbranch in 35b8d4f54c5aa0b1ff3a2ecfb85e9d96f246fe64 by #3272516: Deprecate FilterInterface::getHTMLRestrictions()' forbidden_tags functionality — this only continues to exist in the9.5.xbranch. Let's handle this in #3231336-9: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated.Ah, yes! We maybe should've done this in #3231336: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated instead of marking it outdated/obsolete … so reopened that with a patch to remove it: #3231336-9: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated.
🐛 We need to keep this, but the current link is indeed wrong, it should be https://www.drupal.org/project/drupal/issues/3231347.
🚢 #3304731: Update remaining tests using Classy to use Starterkit already removed this! — gone in my reroll of #17 👍
This was pointing to the wrong issue, it should've been updated to #3275120: [drupalMedia] alt_field setting on "Image" media not respected somewhere along the way.
So I wanted to close that issue by writing a thorough comment. And in doing so, I found a bug: #3275120-3: [drupalMedia] alt_field setting on "Image" media not respected.
✅
✅
✅
Comment #19
bnjmnmAddressing #18
Comment #20
wim leersFrom an ~88K patch to a ~9K patch 👍
👍 If #3231336: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated lands first, this will need to be rerolled. But +1 for this, because it'll ensure that all remaining
@todos make sense 😊Comment #21
lauriiiShould we update this?
This @todo exists in
\Drupal\Tests\ckeditor5\Unit\HTMLRestrictionsTest::providerConstruct. Should we remove it?Comment #22
wim leersComment #23
wim leersLet's postpone this on #3231336: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated. Per #22 that'll make things simpler. Ready for review there!
Comment #24
bnjmnmAddresses #22. The reroll was such that an interdiff would not be particularly useful.
Comment #25
wim leersManually checked, ready to ship! 🚢
Comment #27
wim leersRandom failures in the CKEditor 4 module. 🤷♀️ Unrelated.
Comment #28
lauriiiWe still need to update this. It was mentioned as part of #21 but looks like the comment was pretty confusing 🤦♂️
Comment #29
bnjmnmAddresses #28
Comment #30
wim leersComment #34
lauriiiCommitted 3f094e0 and pushed to 10.1.x. Also cherry-picked to 10.0.x and 9.5.x. Thanks!
Comment #35
poker10 commentedThis commit introduced a broken @todo link (https://www.drupal.org/project/ckeditor5/issues/3231347).
I have created an issue - to fix this and also two additional broken links (not related with this). See: #3310760: Broken issue links in @todos
Comment #36
wim leersThis should be cherry-picked to
9.4.xtoo. #29 applies. 👍 Test queued.Comment #38
lauriiiCommitted 00f7077 and pushed to 9.4.x. Thanks!
Comment #39
wim leersThanks!
Restoring prior state.
Comment #40
lauriiiSince this was backported to 9.4.x, the previous version was correct.