@ohhwells/bridge 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5426,6 +5426,7 @@ function applyLinkByKey(key, val) {
|
|
|
5426
5426
|
document.querySelectorAll(`[data-ohw-href-key="${key}"]`).forEach((el) => {
|
|
5427
5427
|
applyLinkHref(el, val);
|
|
5428
5428
|
});
|
|
5429
|
+
window.dispatchEvent(new CustomEvent("ohw:link-href", { detail: { key, href: val } }));
|
|
5429
5430
|
}
|
|
5430
5431
|
function isInsideLinkEditor(target) {
|
|
5431
5432
|
return Boolean(
|