@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.js
CHANGED
|
@@ -5378,6 +5378,7 @@ function applyLinkByKey(key, val) {
|
|
|
5378
5378
|
document.querySelectorAll(`[data-ohw-href-key="${key}"]`).forEach((el) => {
|
|
5379
5379
|
applyLinkHref(el, val);
|
|
5380
5380
|
});
|
|
5381
|
+
window.dispatchEvent(new CustomEvent("ohw:link-href", { detail: { key, href: val } }));
|
|
5381
5382
|
}
|
|
5382
5383
|
function isInsideLinkEditor(target) {
|
|
5383
5384
|
return Boolean(
|