Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/processors/LinkProcessor",["module","exports","require","../utils/getEditableLinkValue","../utils/isNullOrUndefined","./getAlloyEditorProcessor","./getLinkableEditableEditorWrapper"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r("../utils/getEditableLinkValue"),l=d(r("../utils/isNullOrUndefined")),a=d(r("./getAlloyEditorProcessor")),o=r("./getLinkableEditableEditorWrapper");function d(e){return e&&e.__esModule?e:{default:e}}var n=(0,a.default)("text",o.getLinkableEditableEditorWrapper,((e,t,r,a)=>{const o=e instanceof HTMLAnchorElement?e:e.querySelector("a"),d=(0,i.getEditableLinkValue)(r,a);o&&(o.href=d.href||"#",o.target=d.target,(0,l.default)(t)||(o.innerHTML=t))}));t.default=n}}));
//# sourceMappingURL=LinkProcessor.js.map