Looking at other CKEditor plugin modules and some of the documentation on drupal.org, it seems to be a defacto standard to have ckeditor plugins in libraries/ckeditor/plugins/pluginname.

This makes sense since it removes the risk of confusion and conflicts with non-ckeditor libraries that might have the same name and CKEditor's default instructions are to put plugins in a plugins sub-directory, which is what Drupal core does with its default CKEditor plugins.

If we can get consistency with where CKEditor plugin modules store their libraries it also makes it easier to manage all CKEditor plugins in a uniform manner.

Comments

rooby created an issue. See original summary.

rromore’s picture

rooby’s picture

Thanks for the patch. I was hoping to get to this last weekend but I'll definitely have time this weekend, so I will review then.

rromore’s picture

StatusFileSize
new4.58 KB

I mistakenly used "Error" instead of "Exception" with my last patch. Attaching a new patch with the correction.

rromore’s picture

StatusFileSize
new4.91 KB

Found a few more issues including plugin path resolution and not checking for profile plugin path in actual plugin.

rromore’s picture

StatusFileSize
new4.99 KB

Fixing a php notice on status report page.

a.milkovsky’s picture

Looking at other CKEditor plugin modules and some of the documentation on drupal.org, it seems to be a defacto standard to have ckeditor plugins in libraries/ckeditor/plugins/pluginname.

Hi @rooby. Could yu please provide links to the documentan you were looking at?

bkosborne’s picture

Documentation would be good. I know for example that Webform module uses fakeobjects plugin, but it installs it to /libraries/ckeditor.fakeobjects, and not in a ckeditor-specific directory.

rromore’s picture

StatusFileSize
new4.32 KB

Updating patch based on changes made to the anchor_link module.

rromore’s picture

StatusFileSize
new4.34 KB

Fixing a syntax issue with the previous patch.