X-Git-Url: https://scm.cri.minesparis.psl.eu/git/ckeditor.git/blobdiff_plain/e11f66eb655db8339a2d9b197b89f6c3b26099e1..579f65bc95a773bc6f8da75f6849ea49f365368b:/skins/ckeditor/_samples/php/events.php diff --git a/skins/ckeditor/_samples/php/events.php b/skins/ckeditor/_samples/php/events.php deleted file mode 100644 index a625192..0000000 --- a/skins/ckeditor/_samples/php/events.php +++ /dev/null @@ -1,153 +0,0 @@ - - - -
-- This sample shows how to add event handlers to CKEditor with PHP. -
-- A snippet of the configuration code can be seen below; check the source code of this page for - the full definition: -
-<?php -// Include the CKEditor class. -include("ckeditor/ckeditor.php"); - -// Create a class instance. -$CKEditor = new CKEditor(); - -// Path to the CKEditor directory. -$CKEditor->basePath = '/ckeditor/'; - -// The initial value to be displayed in the editor. -$initialValue = 'This is some sample text.'; - -// Add event handler, instanceReady is fired when editor is loaded. -$CKEditor->addEventHandler('instanceReady', 'function (evt) { - alert("Loaded editor: " + evt.editor.name); -}'); - -// Create an editor instance. -$CKEditor->editor("editor1", $initialValue); --