In the file ckeditor_templates.info.yml there is a dependency
dependencies:
- drupal:ckeditor
This is the dependency on CKEditor 4, which is the reason why composer installs it.
If you create your own patch that removes this dependency from the ckeditor_templates.info.yml file, it happens after the module is installed, so CKEditor 4 will still be installed.
Therefore, we can only wait for the developer to remove this dependency from the new version.
I'm using Drupal 10 and CKEditor 5. But when I install the CKEditor Templates 1.3 module with composer, CKEditor 4 is automatically installed. And when I enable the CKEditor Templates 1.3 module also enables the CKEditor 4 module.
I have looked through some of the code of the CKEditor Templates 1.3 module, there are indeed CKEditor 4 dependencies there. Although the module works fine with CKEditor 5. It remains to remove these rudiments.
kolotunbobo → created an issue.
kolotunbobo → created an issue.
kolotunbobo → created an issue.