-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
26 lines (25 loc) · 813 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
26
<!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>
</head>
<body>
<div id="editor" class="tinymce-full"></div>
</body>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</html>