forked from bmaranville/el-tiny-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (24 loc) · 930 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TinyMCE Electron</title>
<style type="text/css">
html, body, #editor { height: 100%; margin: 0px; }
.mce-edit-area {display:flex !important;flex-flow:column;}
.mce-edit-area iframe {flex:1 1 auto;}
.mce-tinymce {height:100%;}
.mce-tinymce.mce-container { width:100%;height:100%;border:0; }
.mce-panel{border:0}
.mce-container-body.mce-stack-layout {display: flex; flex-flow: column;height: 100%;}
.mce-stack-layout-item{ flex: 0 0 auto;}
.mce-edit-area{flex:1 1 auto;}
</style>
<link rel="stylesheet" type="text/css" href="node_modules/tinymce/plugins/visualblocks/css/visualblocks.css"/>
<meta http-equiv="Content-Security-Policy" content="script-src 'self';">
<script src="renderer.js"></script>
</head>
<body>
<div id="editor" class="tinymce-full"></div>
</body>
</html>