Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.179/page_editor/app/processors/getLinkableEditableEditorWrapper",["module","exports","require"],(function(e,n,r){window;Object.defineProperty(n,"__esModule",{value:!0}),n.getLinkableEditableEditorWrapper=function getLinkableEditableEditorWrapper(e){const n=e instanceof HTMLAnchorElement?e:e.querySelector("a");if(n){const e=document.createElement("div");return e.innerHTML=n.innerHTML,n.innerHTML="",n.appendChild(e),e}{const n=document.createElement("div");return n.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(n),n}}}));
//# sourceMappingURL=getLinkableEditableEditorWrapper.js.map