- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Can we not instead allow both SVG and PNG, to address the BC concern? #6 is interesting but we can't call those automatically from within Drupal. So perhaps a context-dependent validation would be appropriate: if the CKEditor 5 module is installed, trigger a validation error if Embed only has a PNG button icon and not also a SVG button icon?
Then there's zero effect for existing sites. There's a reasonable change in behavior for sites using CKEditor 5, but only an essential change.
What do you think about that middle ground, @Dave Reid?
- 🇺🇸United States dave reid Nebraska USA
Yeah I feel like allowing for both PNG and SVG for now is the best solution. I think we could also add a hook_requirement runtime check that if only the ckeditor5 module is enabled (and not ckeditor), that if any embed buttons do not have SVGs to add an error that it needs to be fixed. We could potentially look at writing an update hook to programatically update PNGs to SVG, but that will require a larger effort.
- Status changed to Needs review
over 1 year ago 1:13pm 6 June 2023 - 🇺🇸United States dave reid Nebraska USA
I can work on updating the MR to get this ready today.
- last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 14 pass, 6 fail - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 14 pass, 6 fail - last update
over 1 year ago 19 pass - last update
over 1 year ago 14 pass, 6 fail - 🇺🇸United States SamLerner
I tested this out and it works great. I cloned the MR and when I went to the Status Report, I saw this output:
- last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 14 pass, 6 fail - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 19 pass - last update
over 1 year ago 14 pass, 6 fail - 🇺🇸United States dave reid Nebraska USA
The D10 test failure seems to be #3190024: Problem with test dependencies when testing issue forks →
- 🇺🇸United States dave reid Nebraska USA
I've thoroughly been testing this and am going to merge it since it helps unblock Entity Embed and CKEditor5.
- last update
over 1 year ago 19 pass -
Dave Reid →
committed 331dce64 on 8.x-1.x authored by
immaculatexavier →
Issue #3310328 by Dave Reid, immaculatexavier, idiaz.roncero: Only allow...
-
Dave Reid →
committed 331dce64 on 8.x-1.x authored by
immaculatexavier →
- Status changed to Fixed
over 1 year ago 8:35pm 6 June 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Epic turn-around time here! 🤩 Talked to @Dave Reid yesterday, and now it's already fixed 🤯
- 🇺🇸United States dave reid Nebraska USA
I need to make it to more events! :D
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
😄 When I told Megh & Tim about our encounter on the street where you informed me of this having landed, they said "THAT IS SOOOOO DAVE!" 😁
Automatically closed - issue fixed for 2 weeks with no activity.