forked from xdan/jodit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (48 loc) · 1.09 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Jodit Test Document</title>
<link rel="stylesheet" href="./app.css" />
<link rel="stylesheet" href="./build/jodit.min.css" />
<script src="./build/jodit.js"></script>
</head>
<body>
<style>
#box {
padding: 100px;
margin: 20px;
position: relative;
height: 500px;
}
@media (max-width: 480px) {
#box {
padding: 0;
}
}
</style>
<div id="box">
<h1>Jodit Test Document</h1>
<textarea id="editor">
<img src="https://xdsoft.net/jodit/build/images/artio.jpg"/>
</textarea>
</div>
<script>
const editor = Jodit.make('#editor' ,{
uploader: {
url: 'https://xdsoft.net/jodit/connector/index.php?action=fileUpload'
},
filebrowser: {
ajax: {
url: 'https://xdsoft.net/jodit/connector/index.php'
}
}
});
</script>
</body>
</html>