Ticket #6302: test_cke.html

File test_cke.html, 1.1 KB (added by Jakub Ś, 13 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<!--
3Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
4For licensing, see LICENSE.html or http://ckeditor.com/license
5-->
6<html xmlns="http://www.w3.org/1999/xhtml">
7<head>
8        <title>ERROR IN CHROME</title>
9        <meta content="text/html; charset=utf-8" http-equiv="content-type" />   
10        <script type="text/javascript" src="../ckeditor_source.js"></script>
11       
12</head>
13<body>
14        <a href="#">link1</a>
15        <textarea id='test'></textarea>
16        <a href="#">link2</a>
17        <script type="text/javascript">
18        //<![CDATA[
19                function TestFocus(){
20                        alert('FOCUS!');
21                }
22                function TestBlur(){
23                        alert('BLUR!');
24                }
25                function TestClick(){
26                        alert('Click');//working
27                }
28               
29                        var e = CKEDITOR.replace('test');                       
30                        e.on('instanceReady',function(){                               
31                                        e.document.on('focus',TestFocus);
32                                        e.document.on('blur',TestBlur);
33                                        e.document.on('click',TestClick);
34                               
35                        });
36               
37
38        //]]>
39        </script>
40</body>
41</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy