X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/e11f66eb655db8339a2d9b197b89f6c3b26099e1..579f65bc95a773bc6f8da75f6849ea49f365368b:/skins/ckeditor/_samples/asp/advanced.asp diff --git a/skins/ckeditor/_samples/asp/advanced.asp b/skins/ckeditor/_samples/asp/advanced.asp deleted file mode 100644 index b101c2c..0000000 --- a/skins/ckeditor/_samples/asp/advanced.asp +++ /dev/null @@ -1,105 +0,0 @@ -<%@ codepage="65001" language="VBScript" %> -<% Option Explicit %> - -<% - - ' You must set "Enable Parent Paths" on your web site - ' in order for the above relative include to work. - ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp" - -%> - - - - - Sample - CKEditor - - - - -

- CKEditor Sample -

- -
- -
- -
- Output -
-

-
-

-<% - ' Create class instance. - dim editor, initialValue, code, textareaAttributes - set editor = New CKEditor - - ' Do not print the code directly to the browser, return it instead - editor.returnOutput = true - - ' Path to CKEditor directory, ideally instead of relative dir, use an absolute path: - ' editor.basePath = "/ckeditor/" - ' If not set, CKEditor will default to /ckeditor/ - editor.basePath = "../../" - - ' Set global configuration (will be used by all instances of CKEditor). - editor.config("width") = 600 - - ' Change default textarea attributes - set textareaAttributes = CreateObject("Scripting.Dictionary") - textareaAttributes.Add "rows", 10 - textareaAttributes.Add "cols", 80 - Set editor.textareaAttributes = textareaAttributes - - ' The initial value to be displayed in the editor. - initialValue = "

This is some sample text. You are using CKEditor.

" - - ' Create first instance. - code = editor.editor("editor1", initialValue) - - response.write code -%> -

-
-

-<% -' Configuration that will be used only by the second editor. - -editor.instanceConfig("toolbar") = Array( _ - Array( "Source", "-", "Bold", "Italic", "Underline", "Strike" ), _ - Array( "Image", "Link", "Unlink", "Anchor" ) _ - ) - -editor.instanceConfig("skin") = "v2" - -' Create second instance. -response.write editor.editor("editor2", initialValue) -%> -

- -

-
-
- - -