-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 1.46 KB
/
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
27
28
29
30
31
32
33
34
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CKEditor 5 Sample</title>
<link rel="icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/96x96.png" sizes="96x96">
<link rel="apple-touch-icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/120x120.png" sizes="120x120">
<link rel="apple-touch-icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/152x152.png" sizes="152x152">
<link rel="apple-touch-icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/167x167.png" sizes="167x167">
<link rel="apple-touch-icon" type="image/png" href="https://ckeditor.com/assets/images/favicons/180x180.png" sizes="180x180">
</head>
<body>
<div>
<div class="main-container">
<div class="editor-container editor-container_classic-editor editor-container_include-style" id="editor-container">
<div class="editor-container__editor"><div id="editor"></div></div>
</div>
</div>
</div>
<script type="module">
import ClassicEditor from './main.js';
console.log('ClassicEditor', ClassicEditor);
ClassicEditor.create(document.querySelector('#editor'));
// .then((editor) => {
// document
// .querySelector('.ck.ck-editor__main')
// .appendChild(editor.plugins.get('WordCount').wordCountContainer);
// })
</script>
</body>
</html>