From 1275e68efa680e55fd29a377c9c58c59bb7f235e Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 10 Jul 2018 22:01:22 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../html/ckeditor/samples/old/inlinetextarea.html | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 cgi-bin/html/ckeditor/samples/old/inlinetextarea.html (limited to 'cgi-bin/html/ckeditor/samples/old/inlinetextarea.html') diff --git a/cgi-bin/html/ckeditor/samples/old/inlinetextarea.html b/cgi-bin/html/ckeditor/samples/old/inlinetextarea.html new file mode 100644 index 0000000..0570ec5 --- /dev/null +++ b/cgi-bin/html/ckeditor/samples/old/inlinetextarea.html @@ -0,0 +1,113 @@ + + + + + + Replace Textarea with Inline Editor — CKEditor Sample + + + + + +

+ CKEditor Samples » Replace Textarea with Inline Editor +

+
+ This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. +
+
+

+ You can also create an inline editor from a 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' );
+
+
+
+

This is a sample form with some fields

+

+ Title:
+

+

+ Article Body (Textarea converted to CKEditor):
+ +

+

+ +

+
+ + + + + -- cgit v1.1-26-g67d0