CKEDITOR 取值

CKEDITOR 取值 :

var courseContent = CKEDITOR.replace('courseContent', {
			skin : 'office2003',
			toolbar : [
					[ 'Bold', 'Italic', 'Underline', 'Strike', '-',
							'Subscript', 'Superscript' ],
					[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent',
							'Blockquote' ],
					[ 'JustifyLeft', 'JustifyCenter', 'JustifyRight',
							'JustifyBlock' ] ]
		});

 取值:

1.courseContent.document.getBody().getHtml()

2.courseContent.getData()

你可能感兴趣的:(js,ckeditor)