parent
d5021c7495
commit
a527e33829
@ -1,31 +1,47 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
||||
"http://www.w3.org/TR/html4/loose.dtd"> |
||||
|
||||
<html> |
||||
|
||||
<!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> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
||||
<title>Template</title> |
||||
|
||||
<!--Styles--> |
||||
<link rel="stylesheet" type="text/css" href="styles/master.css"> |
||||
<link rel="stylesheet" type="text/css" href="styles/wcontainer.css"> |
||||
<link rel="stylesheet" type="text/css" href="styles/app.css"> |
||||
<!--Scripts--> |
||||
<script type="text/javascript" src="scripts/jquery144.js"></script> |
||||
<script type="text/javascript" src="scripts/ext.js"></script> |
||||
<script type="text/javascript" src="scripts/wcontainer.js"></script> |
||||
<!-- <script type="text/javascript" src="scripts/tpl.js"></script> --> |
||||
<script type="text/javascript" src="scripts/app.js"></script> |
||||
|
||||
<!-- Load TinyMCE --> |
||||
<script type="text/javascript" src="tinymcejq/jquery.tinymce.js"></script> |
||||
<!-- /TinyMCE --> |
||||
|
||||
<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> |
||||
<div id="ub-widget"></div> |
||||
<textarea cols="80" id="fineEditor" name="fineEditor" rows="10"><p>This is some <strong>sample text</strong>.</textarea> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue