Ticket #5353: test_resize.html

File test_resize.html, 450 bytes (added by markus heumel, 10 years ago)
Line 
1<html>
2<head>
3        <script type="text/javascript" src="../lib/ckeditor/ckeditor.js"></script>
4</head>
5<body>
6<div id="editorSpace" style="background-color:#FF0000; position:absolute; top:10px; left:10px; width:200px; height:200px"></div>
7<script type="text/javascript">
8        var editor = CKEDITOR.appendTo('editorSpace', { toolbar: [] });
9        editor.on( 'instanceReady', function(e) { 
10                editor.resize(200, 200); 
11        });             
12</script>
13</body>
14</html>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy