Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
ckeditor5.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2023 at 22:43 UTC
Updated:
25 Oct 2023 at 06:49 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
cilefen commentedComment #3
vipul tulse commentedCurrently created contrib module to support
https://www.drupal.org/project/ckeditor5_show_block
Comment #4
wim leersComment #6
wim leersComment #7
wim leersI’ve been trying for 30 mins now and am failing HARD at getting it to be installed into Drupal 😳
If you then do a git diff you’ll see that nothing was added to
core/assets/vendor🤯😱Comment #8
wim leersEscalated to CKEditor 5 team, and:
So this is blocked on an upstream fix 😇
Comment #10
wim leersA patch release for version 39 of CKEditor 5 will ship later this week, and it'll provide the required DLL build 👍
Comment #11
wim leersFixed in 39.0.1, which is in core since #3380637: Update CKEditor 5 to 39.0.1! 👍
Comment #12
wim leersThis is ready for review!
Comment #13
wim leersComment #14
wim leersGreen! 😊
Comment #15
smustgrave commentedTested this on 11.x
It seems to pick up all the regular tags, ul, ol, p, a, etc. But if I use a media embed or anything nothing appears. Know that probably wasn't on the list upstream but could the plugin we expanded for drupal?
If not don't think it's the end of the world.
Tagging for CR for the new plugin option though.
Comment #16
wim leersVery interesting 🧐
Per https://ckeditor.com/docs/ckeditor5/latest/features/show-blocks.html#kno...
— Drupal Media is an example of that.
Asked the CKEditor 5 team about this 🤓
Could you perhaps post a screenshot of what it looks like when using Drupal Media as well as a custom HTML tag such as
foobar, as well as a non-custom HTML tag that is not natively supported such as<hr>? 🙏Comment #17
smustgrave commentedSure
Comment #18
qusai taha commentedRe-roll for drupal 9.5.x
Comment #19
qusai taha commentedRe-roll patch for Drupal 9.5.x to be working with https://www.drupal.org/project/drupal/issues/3362414
Comment #20
qusai taha commentedComment #21
mikesimmons commented#20 fails to apply to Drupal 10.1.3.
Comment #22
wim leers@mikesimmons: The MR still applies cleanly to Drupal
11.x.The patches in #18, #19 and #20 are only provided to get this on earlier Drupal versions.
Still awaiting response to #16.
Comment #23
mikesimmons commentedThanks for pointing out the MR, @wim-leers.
Here a patch for Drupal 10.1.3.
Comment #24
wim leersI wrote in #16:
They just created an issue for this to measure community interest in this: https://github.com/ckeditor/ckeditor5/issues/14869
Comment #25
smustgrave commentedRetested and still seeing the outline around ul, ol, p, a, etc. Assuming if the media fix happens it will be upstream so nothing to do here.
Comment #26
wim leersCorrect — there shouldn't be anything needed on our end to support widgets like
DrupalMedia's 👍Comment #29
lauriiiCommitted 116c87e and pushed to 11.x. Also cherry-picked to 10.2.x. Thanks!