kontent-ai / kontent-ai-migration-toolkit

MIT License
2 stars 1 forks source link

Add processing for `data-asset-id` attributes on anchors #12

Closed nkooman-bzs closed 1 week ago

nkooman-bzs commented 1 week ago

Motivation

Imports of data would fail if the exported data included asset links. Ex: <a data-asset-id="47213619-2265-4e32-88d3-13d25cba7a1f">...</a>

Checklist

How to test

If manual testing is required, what are the steps?

Run an export and import of a content item including rich text that has an asset link.

Enngage commented 1 week ago

Very nice PR, thanks a lot! I just tried it and it works as expected. I completely forgot about this use case.