Home >php教程 >php手册 >kindeditor编辑器 php获取内容

kindeditor编辑器 php获取内容

WBOY
WBOYOriginal
2016-06-13 09:37:371319browse

在使用kindeditor编辑器的时候,使用js点击提交表单php不能获取对应的编辑器内容

需要添加的代码为:

KindEditor.ready(function(K) {
	editor = K.create('#editor', {
		resizeType : 0,
		allowImageRemote : false,
		width : '100%',
		height : '100%',
		items : ['source','bold','italic','underline','forecolor','image'],
		afterBlur : function(){this.sync();}//需要添加的
	});
});
添加上后可以正常获取,解决问题

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn