diff --git a/plugin-designs/doxa-simple-map/index.js b/plugin-designs/doxa-simple-map/index.js index 7d62270d1..4363b3b76 100644 --- a/plugin-designs/doxa-simple-map/index.js +++ b/plugin-designs/doxa-simple-map/index.js @@ -1,20 +1,19 @@ /** * plugin-designs/doxa-simple-map/index.js * - * Bundle entry — registers the doxa-simple-map web component(s). + * Bundle entry — registers the doxa-simple-map web component. * - * Registers TWO custom-element tag names that mount the SAME ProfileLoader - * (separate defineCustomElement calls so each tag gets its own class): - * - legacy production tag (Q1 back-compat — must keep working) - * - new explicit tag matching the bundle name + * ★ ITS TAG IS , DX Maps' own name. A host page can define the older generic names first + * (DX Life's own /js/doxa-simple-map.js defines and ), and the first definition + * wins, so under those names a page could be drawing the host's element instead of this one. The older names + * are defined only when the host asks: a `data-legacy-tags` attribute on this bundle's - * - * - * Usage (new): - * - * + * Usage: + * + * + * An existing embed that still writes or adds `data-legacy-tags` to its