Commit 665862b2 authored by greg@1m's avatar greg@1m
Browse files

refacto generator

parent e14f0c5e
......@@ -327,7 +327,7 @@ export const iframeMainCode = (p: {
sendToParent({ action: 'apiCall', data: apiData })
}
const divApi = () => {
const createDiv = () => {
const id = `ctag-content-wrapper-${p.generateUUID()} `
const updateContent = (nContent) => {
// @ts-ignore
......@@ -348,13 +348,13 @@ export const iframeMainCode = (p: {
resizeIframe,
loadCustomTag,
uuid: p.generateUUID,
createDiv: divApi,
createDiv,
}
}
// @ts-ignore
window.api = api
// @ts-ignore
window.api = api
//
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment