maven中整合ueditor常见问题

Ueditor打开的dialog被遮挡

var ue = UE.getEditor('editor_container',{
	toolbars: [[
         'source', '|', 'undo', 'redo'
    ]]
**,zIndex : 2147483647  //编辑器层级的基数,默认是900**
});

Ueditor打开时不能全部显示或者只有文字

添加一下内容即可:

     
	
	  
	 

Ueditor保存数据与回显

UE编辑器:

添加隐藏域保存数据

 

回显

ue.ready(function() {
    //设置编辑器的内容
    ue.setContent($("#content").val());
});
//保存打标内容
function savehtml(){
	$("#content").val(ue.getContent());
	alert("保存成功!");
}

controller.jsp报错

maven添加依赖


			com.baidu
			ueditor
			1.1.2
		

动态修改config.jsp文件

https://blog.csdn.net/qq_28915045/article/details/81940322

未找到上传数据

https://blog.csdn.net/qq_34354426/article/details/76699206

你可能感兴趣的:(java拾遗)