Problem/Motivation
The module tracks links but it will be useful to track images added with CKEditor Image plugin.
Proposed resolution
Add a 'CKEditor Image' plugin to be able to track images (files) added with CKEditor Image:
$xpath->query('//img[@data-entity-type and @data-entity-uuid]')
User interface changes
New 'CKEditor Image' option under the 'Enabled Tracking Plugins' on the 'Entity Usage Settings' config page.
Data model changes
New configuration key 'ckeditor_image' for 'track_enabled_plugins'.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | tracking-ckeditor-images-3083970-2.patch | 1.65 KB | szato |
Issue fork entity_usage-3083970
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
szato commentedPatch implements 'ckeditor_image' tracking plugin.
Comment #4
claudiu.cristeaAdding tests
Comment #6
claudiu.cristeaComment #7
claudiu.cristeadynamic_entity_referenceconstraint.Comment #10
marcoscanoThanks for contributing! Just merged, and will be tagging a new release soon. 👍