born05 / craft-assetusage

Craft plugin adds a column to see which assets are used or unused.
MIT License
32 stars 7 forks source link

Usage not reflected when used in CKEditor #42

Open ArtDepartmentMJ opened 2 weeks ago

ArtDepartmentMJ commented 2 weeks ago

When using an asset in a CKEditor field the asset's usage status will remain "Unused"

Craft: 5.3.6 Asset Usage: 4.0.0

roelvanhintum commented 1 week ago

@ArtDepartmentMJ , this was previously hard to do with the Redactor plugin, because it didn't keep track of relations, just like the CKEditor plugin. I did release a fix in 4.1.1, by searching Craft 5's content column for asset:ASSET_ID:. The counts of usage may be slightly off, but it does give a better idea of assets in use.