X-Git-Url: https://scm.cri.minesparis.psl.eu/git/ckeditor.git/blobdiff_plain/871bad8291b6dbc29d489d95d185458caab25158..14d450d78a2d67ec1decd64c928151851961dd36:/_samples/asp/advanced.asp?ds=sidebyside diff --git a/_samples/asp/advanced.asp b/_samples/asp/advanced.asp deleted file mode 100644 index b101c2c..0000000 --- a/_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) -%> -

- -

-
-
- - -