CKEditor示例 »用内联编辑器替换Textarea

您也可以从 textarea element. In this case the textarea will be replaced by a div element with inline editing enabled.

// "article-body" is the name of a textarea element.
var editor = CKEDITOR.inline( 'article-body' );

这是带有某些字段的示例表格

Title:

文章正文(Textarea转换为CKEditor):