From 07704199616228849c17302f21dd5a5a30dbea66 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 26 Jan 2018 14:12:33 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9?= 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 html/ckeditor/samples/old/inlinetextarea.html (limited to 'html/ckeditor/samples/old/inlinetextarea.html') diff --git a/html/ckeditor/samples/old/inlinetextarea.html b/html/ckeditor/samples/old/inlinetextarea.html new file mode 100644 index 0000000..0570ec5 --- /dev/null +++ b/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