-
Notifications
You must be signed in to change notification settings - Fork 355
/
index.html
52 lines (47 loc) · 1.1 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
50
51
52
<!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 Start</title>
<link rel="stylesheet" href="./public/app.css" />
<link rel="stylesheet" href="../build/es2015/jodit.min.css" />
<script src="./build/es2015/jodit.min.js"></script>
<link rel="icon" href="https://xdsoft.net/jodit/pro/favicon.png" />
</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/files/artio.jpg"/>
</textarea>
</div>
<script>
const editor = Jodit.make('#editor', {
uploader: {
url: 'https://xdsoft.net/jodit/finder/?action=fileUpload'
},
filebrowser: {
ajax: {
url: 'https://xdsoft.net/jodit/finder/'
}
}
});
</script>
</body>
</html>