ckeditor/samples/index.html
author indvd00m (gotoindvdum[at]gmail[dot]com)
Thu, 15 Dec 2016 18:10:20 +0300
changeset 0 44d330dccc59
permissions -rw-r--r--
Init sample
indvd00m@0
     1
<!DOCTYPE html>
indvd00m@0
     2
<!--
indvd00m@0
     3
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
indvd00m@0
     4
For licensing, see LICENSE.md or http://ckeditor.com/license
indvd00m@0
     5
-->
indvd00m@0
     6
<html>
indvd00m@0
     7
<head>
indvd00m@0
     8
	<meta charset="utf-8">
indvd00m@0
     9
	<title>CKEditor Sample</title>
indvd00m@0
    10
	<script src="../ckeditor.js"></script>
indvd00m@0
    11
	<script src="js/sample.js"></script>
indvd00m@0
    12
	<link rel="stylesheet" href="css/samples.css">
indvd00m@0
    13
	<link rel="stylesheet" href="toolbarconfigurator/lib/codemirror/neo.css">
indvd00m@0
    14
</head>
indvd00m@0
    15
<body id="main">
indvd00m@0
    16
indvd00m@0
    17
<nav class="navigation-a">
indvd00m@0
    18
	<div class="grid-container">
indvd00m@0
    19
		<ul class="navigation-a-left grid-width-70">
indvd00m@0
    20
			<li><a href="http://ckeditor.com">Project Homepage</a></li>
indvd00m@0
    21
			<li><a href="http://dev.ckeditor.com/">I found a bug</a></li>
indvd00m@0
    22
			<li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
indvd00m@0
    23
		</ul>
indvd00m@0
    24
		<ul class="navigation-a-right grid-width-30">
indvd00m@0
    25
			<li><a href="http://ckeditor.com/blog-list">CKEditor Blog</a></li>
indvd00m@0
    26
		</ul>
indvd00m@0
    27
	</div>
indvd00m@0
    28
</nav>
indvd00m@0
    29
indvd00m@0
    30
<header class="header-a">
indvd00m@0
    31
	<div class="grid-container">
indvd00m@0
    32
		<h1 class="header-a-logo grid-width-30">
indvd00m@0
    33
			<a href="index.html"><img src="img/logo.png" alt="CKEditor Sample"></a>
indvd00m@0
    34
		</h1>
indvd00m@0
    35
indvd00m@0
    36
		<nav class="navigation-b grid-width-70">
indvd00m@0
    37
			<ul>
indvd00m@0
    38
				<li><a href="index.html" class="button-a button-a-background">Start</a></li>
indvd00m@0
    39
				<li><a href="toolbarconfigurator/index.html" class="button-a">Toolbar configurator <span class="balloon-a balloon-a-nw">Edit your toolbar now!</span></a></li>
indvd00m@0
    40
			</ul>
indvd00m@0
    41
		</nav>
indvd00m@0
    42
	</div>
indvd00m@0
    43
</header>
indvd00m@0
    44
indvd00m@0
    45
<main>
indvd00m@0
    46
	<div class="adjoined-top">
indvd00m@0
    47
		<div class="grid-container">
indvd00m@0
    48
			<div class="content grid-width-100">
indvd00m@0
    49
				<h1>Congratulations!</h1>
indvd00m@0
    50
				<p>
indvd00m@0
    51
					If you can see CKEditor below, it means that the installation succeeded.
indvd00m@0
    52
					You can now try out your new editor version, see its features, and when you are ready to move on, check some of the <a href="#sample-customize">most useful resources</a> recommended below.
indvd00m@0
    53
				</p>
indvd00m@0
    54
			</div>
indvd00m@0
    55
		</div>
indvd00m@0
    56
	</div>
indvd00m@0
    57
	<div class="adjoined-bottom">
indvd00m@0
    58
		<div class="grid-container">
indvd00m@0
    59
			<div class="grid-width-100">
indvd00m@0
    60
				<div id="editor">
indvd00m@0
    61
					<h1>Hello world!</h1>
indvd00m@0
    62
					<p>I'm an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
indvd00m@0
    63
				</div>
indvd00m@0
    64
			</div>
indvd00m@0
    65
		</div>
indvd00m@0
    66
	</div>
indvd00m@0
    67
indvd00m@0
    68
	<div class="grid-container">
indvd00m@0
    69
		<div class="content grid-width-100">
indvd00m@0
    70
			<section id="sample-customize">
indvd00m@0
    71
				<h2>Customize Your Editor</h2>
indvd00m@0
    72
				<p>Modular build and <a href="http://docs.ckeditor.com/#!/guide/dev_configuration">numerous configuration options</a> give you nearly endless possibilities to customize CKEditor. Replace the content of your <code><a href="../config.js">config.js</a></code> file with the following code and refresh this page (<strong>remember to clear the browser cache</strong>)!</p>
indvd00m@0
    73
		<pre class="cm-s-neo CodeMirror"><code><span style="padding-right: 0.1px;"><span class="cm-variable">CKEDITOR</span>.<span class="cm-property">editorConfig</span> <span class="cm-operator">=</span> <span class="cm-keyword">function</span>( <span class="cm-def">config</span> ) {</span>
indvd00m@0
    74
<span style="padding-right: 0.1px;"><span class="cm-tab">	</span><span class="cm-variable-2">config</span>.<span class="cm-property">language</span> <span class="cm-operator">=</span> <span class="cm-string">'es'</span>;</span>
indvd00m@0
    75
<span style="padding-right: 0.1px;"><span class="cm-tab">	</span><span class="cm-variable-2">config</span>.<span class="cm-property">uiColor</span> <span class="cm-operator">=</span> <span class="cm-string">'#F7B42C'</span>;</span>
indvd00m@0
    76
<span style="padding-right: 0.1px;"><span class="cm-tab">	</span><span class="cm-variable-2">config</span>.<span class="cm-property">height</span> <span class="cm-operator">=</span> <span class="cm-number">300</span>;</span>
indvd00m@0
    77
<span style="padding-right: 0.1px;"><span class="cm-tab">	</span><span class="cm-variable-2">config</span>.<span class="cm-property">toolbarCanCollapse</span> <span class="cm-operator">=</span> <span class="cm-atom">true</span>;</span>
indvd00m@0
    78
<span style="padding-right: 0.1px;">};</span></code></pre>
indvd00m@0
    79
			</section>
indvd00m@0
    80
indvd00m@0
    81
			<section>
indvd00m@0
    82
				<h2>Toolbar Configuration</h2>
indvd00m@0
    83
				<p>If you want to reorder toolbar buttons or remove some of them, check <a href="toolbarconfigurator/index.html">this handy tool</a>!</p>
indvd00m@0
    84
			</section>
indvd00m@0
    85
indvd00m@0
    86
			<section>
indvd00m@0
    87
				<h2>More Samples!</h2>
indvd00m@0
    88
				<p>Visit the <a href="http://sdk.ckeditor.com">CKEditor SDK</a> for a huge collection of samples showcasing editor features, with source code readily available to copy and use in your own implementation.</p>
indvd00m@0
    89
			</section>
indvd00m@0
    90
indvd00m@0
    91
			<section>
indvd00m@0
    92
				<h2>Developer's Guide</h2>
indvd00m@0
    93
				<p>The most important resource for all developers working with CKEditor, integrating it with their websites and applications, and customizing to their needs. You can start from here:</p>
indvd00m@0
    94
				<ul>
indvd00m@0
    95
					<li><a href="http://docs.ckeditor.com/#!/guide/dev_installation">Getting Started</a> &ndash; Explains most crucial editor concepts and practices as well as the installation process and integration with your website.</li>
indvd00m@0
    96
					<li><a href="http://docs.ckeditor.com/#!/guide/dev_advanced_installation">Advanced Installation Concepts</a> &ndash; Describes how to upgrade, install additional components (plugins, skins), or create a custom build.</li>
indvd00m@0
    97
				</ul>
indvd00m@0
    98
					<p>When you have the basics sorted out, feel free to browse some more advanced sections like:</p>
indvd00m@0
    99
				<ul>
indvd00m@0
   100
					<li><a href="http://docs.ckeditor.com/#!/guide/dev_features">Functionality Overview</a> &ndash; Descriptions and samples of various editor features.</li>
indvd00m@0
   101
					<li><a href="http://docs.ckeditor.com/#!/guide/plugin_sdk_intro">Plugin SDK</a>, <a href="http://docs.ckeditor.com/#!/guide/widget_sdk_intro">Widget SDK</a>, and <a href="http://docs.ckeditor.com/#!/guide/skin_sdk_intro">Skin SDK</a> &ndash; Useful when you want to create your own editor components.</li>
indvd00m@0
   102
				</ul>
indvd00m@0
   103
			</section>
indvd00m@0
   104
indvd00m@0
   105
			<section>
indvd00m@0
   106
				<h2>CKEditor JavaScript API</h2>
indvd00m@0
   107
				<p>CKEditor boasts a rich <a href="http://docs.ckeditor.com/#!/api">JavaScript API</a> that you can use to adjust the editor to your needs and integrate it with your website or application.</p>
indvd00m@0
   108
			</section>
indvd00m@0
   109
		</div>
indvd00m@0
   110
	</div>
indvd00m@0
   111
</main>
indvd00m@0
   112
indvd00m@0
   113
<footer class="footer-a grid-container">
indvd00m@0
   114
	<div class="grid-container">
indvd00m@0
   115
		<p class="grid-width-100">
indvd00m@0
   116
			CKEditor &ndash; The text editor for the Internet &ndash; <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
indvd00m@0
   117
		</p>
indvd00m@0
   118
		<p class="grid-width-100" id="copy">
indvd00m@0
   119
			Copyright &copy; 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> &ndash; Frederico Knabben. All rights reserved.
indvd00m@0
   120
		</p>
indvd00m@0
   121
	</div>
indvd00m@0
   122
</footer>
indvd00m@0
   123
<script>
indvd00m@0
   124
	initSample();
indvd00m@0
   125
</script>
indvd00m@0
   126
indvd00m@0
   127
</body>
indvd00m@0
   128
</html>