kindeditor editor php gets content_PHP tutorial

WBOY
Release: 2016-07-13 10:32:25
Original
1129 people have browsed it

When using the kindeditor editor, using js to click submit form php cannot obtain the corresponding editor content

The code that needs to be added is:

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();}//需要添加的
	});
});
Copy after login
After adding it, you can obtain it normally and solve the problem

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/755783.htmlTechArticleWhen using the kindeditor editor, using js to click the submit form php cannot obtain the corresponding editor content that needs to be added The code is: KindEditor.ready(function(K) {editor = K.creat...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template