wfUtil_wev8.js
970 Bytes
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
function highEditor(remarkid,height){
height=!height||height<150?150:height;
if(jQuery("#"+remarkid).is(":visible")){
var items=[
'justifyleft', 'justifycenter', 'justifyright','forecolor','bold','italic','fullscreen'
];
K.createEditor({
id : remarkid,
height :height+'px',
themeType:'mobile',
resizeType:1,
uploadJson:'/weaverEditor/jsp/upload_json.jsp',
allowFileManager : false,
newlineTag:'br',
filterMode:false,
imageTabIndex:1,
langType : 'en',
items : items,
afterCreate : function(id) {
//KE.util.focus(id);
this.focus();
}
});
}
}
function isShowEditor(){
if(clienttype=="android"||clienttype=="androidpad"){
clientVersion=mobileInterface.getClientVersion();
}
if(!((clienttype=="android"||clienttype=="androidpad")&&clientVersion<16))
return true;
else
return false;
}