一个叫 “kindeditor”的编辑器下 <script type="text/javascript" charset="utf-8" src="kindeditor/kindeditor.js"></script>
<script type="text/javascript">
KE.show({
id : 'content_1',//textarea的id
cssPath : 'kindeditor/index.css',//引用样式
imageUploadJson : '../../jsp/upload_json.jsp',
fileManagerJson : '../../jsp/file_manager_json.jsp',
allowFileManager : true,
urlType : 'absolute'
后面4句什么意思
<script type="text/javascript">
KE.show({
id : 'content_1',//textarea的id
cssPath : 'kindeditor/index.css',//引用样式
imageUploadJson : '../../jsp/upload_json.jsp',
fileManagerJson : '../../jsp/file_manager_json.jsp',
allowFileManager : true,
urlType : 'absolute'
后面4句什么意思
fileManagerJson 指定浏览远程图片的服务器端程序
allowFileManager true或false,true时显示浏览服务器图片功能
urlType
改变站内本地URL,可设置空、relative、absolute、domain。空为不修改URL,relative为相对路径,absolute为绝对路径,domain为带域名的绝对路径。
参考KindEditor 编辑器属性设置