-
Notifications
You must be signed in to change notification settings - Fork 263
/
w_editor.html
77 lines (72 loc) · 3.04 KB
/
w_editor.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<h2 class="contentTitle">编辑器</h2>
<div style="display:block; overflow:hidden; padding:0 10px; line-height:21px;">
<div class="tabs">
<div class="tabsHeader">
<div class="tabsHeaderContent">
<ul>
<li class="selected"><a href="javascript:;"><span>示例</span></a></li>
<li><a href="javascript:;"><span>代码</span></a></li>
</ul>
</div>
</div>
<div class="tabsContent" layoutH="100">
<div>
<form method="get" action="demo/common/ajaxTimeout.json" class="pageForm required-validate" onsubmit="return iframeCallback(this)">
<div class="pageFormContent" layoutH="158">
<div class="unit">
<textarea class="editor" name="description" rows="8" cols="100"
upLinkUrl="upload.php" upLinkExt="zip,rar,txt"
upImgUrl="upload.php" upImgExt="jpg,jpeg,gif,png"
upFlashUrl="upload.php" upFlashExt="swf"
upMediaUrl="upload.php" upMediaExt="avi">
<strong>xheditor + 文件上传</strong><br/>
upLinkUrl:超链接上传接口地址<br/>
upLinkExt:超链接本地上传扩展限制 【可选】【默认值: zip,rar,txt】<br/>
upImgUrl:图片上传接口地址<br/>
upImgExt:图片本地上传扩展限制 【可选】【默认值:jpg,jpeg,gif,png】<br/>
upFlashUrl:动画上传接口地址<br/>
upFlashExt:动画本地上传扩展限制 【可选】【默认值: swf】<br/>
upMediaUrl:视频上传接口地址<br/>
upMediaExt:视频本地上传扩展限制 【可选】【默认值: avi】
</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100">full(完全) 默认方式</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100" tools="mfull">mfull(多行完全)</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100" tools="simple">simple(简单)</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100" tools="mini">mini(迷你)</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100" tools="Cut,Copy,Paste,Pastetext,|,Source,Fullscreen,About">custom(自定义)</textarea>
</div>
<div class="unit">
<textarea class="editor" name="description" rows="6" cols="100" tools="Cut,Copy,Paste,Pastetext,/,Source,Fullscreen,About">自定义多行模式</textarea>
</div>
</div>
<div class="formBar">
<ul>
<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
</ul>
</div>
</form>
</div>
<div>
<textarea rows="15" cols="90">
说明:
textarea class="editor" 自动加载在线编辑器.
注意textarea name 属性不能为空
</textarea>
</div>
</div>
<div class="tabsFooter">
<div class="tabsFooterContent"></div>
</div>
</div>
</div>