danielebarchiesi@0: <%@ codepage="65001" language="VBScript" %>
danielebarchiesi@0: <% Option Explicit %>
danielebarchiesi@0:
danielebarchiesi@0: <%
danielebarchiesi@0:
danielebarchiesi@0: ' You must set "Enable Parent Paths" on your web site
danielebarchiesi@0: ' in order for the above relative include to work.
danielebarchiesi@0: ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
danielebarchiesi@0:
danielebarchiesi@0: %>
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0:
danielebarchiesi@0: <%
danielebarchiesi@0: ' Create class instance.
danielebarchiesi@0: dim editor
danielebarchiesi@0: set editor = New CKEditor
danielebarchiesi@0: ' Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
danielebarchiesi@0: ' editor.basePath = "/ckeditor/"
danielebarchiesi@0: ' If not set, CKEditor will default to /ckeditor/
danielebarchiesi@0: editor.basePath = "../../"
danielebarchiesi@0: ' Replace textarea with id (or name) "editor1".
danielebarchiesi@0: editor.replaceInstance "editor1"
danielebarchiesi@0: %>
danielebarchiesi@0:
danielebarchiesi@0: