- ๐ซ๐ทFrance Guillaume Aveline
Guillaume Aveline โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia rahul1707
I have tested this patch in Drupal 9.5.7 and 10.0.3. Patch applied cleanly and working as expected. So, moving this to RTBC.
- Status changed to RTBC
over 1 year ago 2:36pm 11 April 2023 - ๐ฎ๐ณIndia rahul1707
I have tested this patch in Drupal 9.5.7 and 10.0.3. Patch applied cleanly and working as expected. So, moving this to RTBC.
- Status changed to Needs work
over 1 year ago 6:46pm 14 June 2023 - ๐บ๐ธUnited States mradcliffe USA
-
+++ b/ckeditor_entity_link.info.yml @@ -1,8 +1,7 @@ dependencies:
The module depends on `drupal/ckeditor` which no longer exists in Drupal 10. This should be changed to `drupal/ckeditor5` if a hard dependency is needed.
-
+++ b/src/Form/CKEditorEntityLinkDialog.php @@ -224,7 +224,7 @@ class CKEditorEntityLinkDialog extends FormBase implements BaseFormIdInterface { + $url = \Drupal::service('file_url_generator')->generateAbsoluteString($file->getFileUri());
The dependency should be injected instead.
-
+++ b/src/Plugin/CKEditorPlugin/EntityLink.php +++ b/src/Plugin/CKEditorPlugin/EntityLink.php @@ -19,7 +19,7 @@ class EntityLink extends CKEditorPluginBase {
CKEditorPluginBase does not exist in Drupal 10.
I think this class/change could remain unchanged if a new "CKEditor5EntityLink" plugin was created.
-
+++ b/src/Plugin/CKEditorPlugin/EntityLink.php @@ -19,7 +19,7 @@ class EntityLink extends CKEditorPluginBase { + return \Drupal::service('extension.list.module')->getPath('ckeditor_entity_link') . '/js/plugins/entitylink/plugin.js'; @@ -45,7 +45,7 @@ class EntityLink extends CKEditorPluginBase { + $path = \Drupal::service('extension.list.module')->getPath('ckeditor_entity_link') . '/js/plugins/entitylink';
In that new plugin, these dependencies should be injected.
I'm not sure if it's possible to make this compatible with both Drupal 9 and Drupal 10. To make it compatible with Drupal 9, a separate CKEditor5 plugin should be created. To make it compatible with Drupal 10, a new branch should be used that only includes dependency on ckeditor5 and/or the ckeditor5 plugin.
-
- Status changed to Needs review
over 1 year ago 3:09pm 20 June 2023 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
Comments addressed.
Switching to version 10 because of the ckeditor5 module andCKEditor5PluginDefault
dependency. - Status changed to Needs work
over 1 year ago 12:42pm 22 June 2023 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
Looks like D10 version needs to be separate from D9.
Still work in progress. - ๐ช๐ธSpain navneet0693 Madrid
Just adding link to https://www.drupal.org/project/ckeditor_entity_link/issues/3312523 ๐ CKEditor 5 support: merge with Linkit? Active
- ๐ช๐ธSpain navneet0693 Madrid
I have just created a fork of this module at https://github.com/navneet0693/ckeditor_entity_link which is working with Drupal 10. I am dropping the link here just in case someone needs this for Drupal 10 based project.
- ๐ต๐ฐPakistan usmanjutt84 Islamabad
Looks like Linkit โ module works perfectly with ckEditor 5 module in Drupal 10. I am already using it in one of my project.
- ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
@usmanjutt84
^10.0
means it works with both10.0
and10.1
same as ^9.4 works with both9.4
and9.5
. - First commit to issue fork.
- Status changed to Needs review
about 1 year ago 5:02pm 31 August 2023 I was thinking, shouldn't we create a release to still require ckeditor 4?
- ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
CKeditor4 and Drupal9 have two months to live.
Don't think it worth it. - First commit to issue fork.
- Merge request !3Issue #3296754: Automated Drupal 10 compatibility fixes โ (Merged) created by vanilla-bear
- ๐ฆ๐บAustralia pasan.gamage
@joaopauloscho
Removing ^9 and keeping only ^10 breaks the module in the process of updating to D10.
I think it won't hurt keeping it ^9 || ^10 - ๐บ๐ธUnited States alphex Atlanta, GA USA
@joaopauloscho
@VladimirAusDecisions like this make upgrading a D9 site to D10 more difficult for people who are less comfortable with composer.
For those of us who have D9 sites, we have to make a decision to keep or upgrade CKEditor4... And in my case, for most of my sites, I'm keeping CKEDITOR 5 cause many features my clients use on CK4 aren't ready yet.
I suggest removing the ckeditor requirement
and keeping 9 in the core requirements,
That way people who are doing the upgrade can make their own mind up about CK4, but don't have to do any composer song and dance to do the Drupal 10 upgrade.
- ๐บ๐ธUnited States eahonet
I would assume ^8.x-1.3 would keep ck4 and support d9 and d10 for upgrade. Removing d9 support would mean you should need a new branch.
If there is a version of this module that is ck5 compatible, it would be it's own branch going forward like 2.0.0 that requires d10 and ck5, but not d9 compatible.
This allows ck4 people to update and stay on ck4 if they have to. And ck5 people can learn about and leverage this tool.
thanks to those working on this! It would be helfpul to at least have a new dev release with d10 support from #3. But in the meantime, I think I'll have to use composer-drupal-lenient to move forward with that patch in composer.
- Status changed to RTBC
11 months ago 8:54am 8 December 2023 - ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
MR!3 works for CKEditor4.
MR!1 crashes for CKEditor4. -
kuhikar โ
committed 6ea27483 on 8.x-1.x authored by
vanilla-bear โ
Issue #3296754: Automated Drupal 10 compatibility fixes
-
kuhikar โ
committed 6ea27483 on 8.x-1.x authored by
vanilla-bear โ
- Status changed to Needs work
11 months ago 9:43pm 21 December 2023 - ๐บ๐ธUnited States mradcliffe USA
Now that there is partial work committed, a ckeditor5 plugin needs to be written so that the module is compatible with Drupal 10 core editor.