You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.0 KiB
47 lines
2.0 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!--
|
|
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
-->
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Very nice text editor!!11</title>
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
|
<script type="text/javascript" src="scripts/ckeditor.js"></script>
|
|
<link href="styles/sample.css" rel="stylesheet" type="text/css" />
|
|
<script>
|
|
window.onload = function() {
|
|
CKEDITOR.replace( 'fineEditor',
|
|
{
|
|
language : 'en',
|
|
toolbar :
|
|
[
|
|
{ name: 'document', items : [ 'Source','-','Save','NewPage','Preview' ] },
|
|
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
|
|
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll' ] },
|
|
,'/',
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
|
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
|
|
{ name: 'insert', items : [ 'Image','HorizontalRule','SpecialChar','PageBreak','Iframe' ] },
|
|
'/',
|
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
|
{ name: 'tools', items : [ 'ShowBlocks', 'About' ] }
|
|
]
|
|
});
|
|
|
|
/*window.onresize(function(){
|
|
globalWidth = $(window).width();
|
|
globalHeight = $(window).height();
|
|
$("#web-content")
|
|
.attr("width", globalWidth - 25)
|
|
.attr("height", globalHeight - 90);
|
|
});*/
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<textarea cols="80" id="fineEditor" name="fineEditor" rows="10"><p>This is some <strong>sample text</strong>.</textarea>
|
|
</body>
|
|
</html>
|
|
|