Spaces:
Running
Running
Upload index.html
Browse files- index.html +18 -0
index.html
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
</head>
|
5 |
+
<body>
|
6 |
+
<textarea id="wysiwyg-editor" style="height: 300px; width: 100%;"></textarea>
|
7 |
+
<script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js"></script>
|
8 |
+
<script>
|
9 |
+
tinymce.init({
|
10 |
+
selector: '#wysiwyg-editor',
|
11 |
+
plugins: 'lists advlist autolink link image charmap print preview hr anchor pagebreak',
|
12 |
+
toolbar: 'undo redo | bold italic underline | fontselect fontsizeselect | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
|
13 |
+
menubar: false,
|
14 |
+
content_style: 'body { background-color: #143; color: #fff; }'
|
15 |
+
});
|
16 |
+
</script>
|
17 |
+
</body>
|
18 |
+
</html>
|