1 Star 0 Fork 5

mickalpeng / amis-editor-demo

forked from openwjh / amis-editor-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
editor.html 1.21 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
2betop 提交于 2020-10-29 15:53 . 更新 editor
<!-- htmlcs-disable -->
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<title>Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link rel="stylesheet" href="font-awesome/css/font-awesome.css" />
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.css" />
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
<link rel="stylesheet" href="amis/lib/themes/default.css" />
<link rel="stylesheet" href="amis-editor/dist/style.css" />
<link rel="stylesheet" href="./scss/style.scss" />
</head>
<body>
<div id="root" class="app-wrapper"></div>
<script src="./mod.js"></script>
<script type="text/javascript">
/* @require ./index.jsx 标记为同步依赖,提前加载 */
/* globals amis */
amis.require(['amis-editor', 'react-dom'], function (editor, reactDom) {
editor.mountInIframe(document.getElementById('root'), reactDom);
});
</script>
</body>
</html>
1
https://gitee.com/mickalpeng/amis-editor-demo.git
git@gitee.com:mickalpeng/amis-editor-demo.git
mickalpeng
amis-editor-demo
amis-editor-demo
master

搜索帮助

14c37bed 8189591 565d56ea 8189591