Skip to content

Fix html preview js#7199

Open
siiigure wants to merge 2 commits into
labring:mainfrom
siiigure:fix-html-preview-js
Open

Fix html preview js#7199
siiigure wants to merge 2 commits into
labring:mainfrom
siiigure:fix-html-preview-js

Conversation

@siiigure

Copy link
Copy Markdown
Contributor

bug:AI对话那生成代码,预览时可以显示HTML的部分,但是无法显示JavaScript的部分
原本预览那里用的是 iframe 的 sandbox,也就是写了啥,iframe 里就只能用啥。
现在的改成了JS 可以执行,但仍隔离在 sandbox 里,不能拿主站上下文。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant