Closed (fixed)
Project:
CKEditor Pastefromword
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2020 at 18:39 UTC
Updated:
21 Jul 2020 at 14:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
julien commentedHi there,
I don't know if 'link' is the right parameter for the library name here. Can you confirm ? Shouldn't it be 'pastefromword' instead ?
Also try to change :
by
because libraries_get_path return the path if the library is found.
Comment #3
WebbehWork from #2 into a patch and interdiff. For review.
Comment #4
julien commentedThanks for the work on the patch @Webbeh
One more little thing to fix and it should be ok. file_exists is used in the wrong function.
file_exists should be use in ckeditor_pastefromword_requirements() function instead of getFile(), getFile have to return the path to the library.
Comment #5
julien commentedComment #6
WebbehFeedback from #4 into patch and interdiff from #3.
Comment #8
julien commentedCommited. Thanks Webbeh
Comment #9
julien commentedComment #11
zwerg commentedThe patch does not work for me (core 8.9.2)
Comment #12
zwerg commentedI just added the library and the patch to my composer.json file but Drupal doesn't detect the library folder.
composer.json: