ckeditor/samples/index.html
changeset 0 44d330dccc59
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ckeditor/samples/index.html	Thu Dec 15 18:10:20 2016 +0300
     1.3 @@ -0,0 +1,128 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!--
     1.6 +Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
     1.7 +For licensing, see LICENSE.md or http://ckeditor.com/license
     1.8 +-->
     1.9 +<html>
    1.10 +<head>
    1.11 +	<meta charset="utf-8">
    1.12 +	<title>CKEditor Sample</title>
    1.13 +	<script src="../ckeditor.js"></script>
    1.14 +	<script src="js/sample.js"></script>
    1.15 +	<link rel="stylesheet" href="css/samples.css">
    1.16 +	<link rel="stylesheet" href="toolbarconfigurator/lib/codemirror/neo.css">
    1.17 +</head>
    1.18 +<body id="main">
    1.19 +
    1.20 +<nav class="navigation-a">
    1.21 +	<div class="grid-container">
    1.22 +		<ul class="navigation-a-left grid-width-70">
    1.23 +			<li><a href="http://ckeditor.com">Project Homepage</a></li>
    1.24 +			<li><a href="http://dev.ckeditor.com/">I found a bug</a></li>
    1.25 +			<li><a href="http://github.com/ckeditor/ckeditor-dev" class="icon-pos-right icon-navigation-a-github">Fork CKEditor on GitHub</a></li>
    1.26 +		</ul>
    1.27 +		<ul class="navigation-a-right grid-width-30">
    1.28 +			<li><a href="http://ckeditor.com/blog-list">CKEditor Blog</a></li>
    1.29 +		</ul>
    1.30 +	</div>
    1.31 +</nav>
    1.32 +
    1.33 +<header class="header-a">
    1.34 +	<div class="grid-container">
    1.35 +		<h1 class="header-a-logo grid-width-30">
    1.36 +			<a href="index.html"><img src="img/logo.png" alt="CKEditor Sample"></a>
    1.37 +		</h1>
    1.38 +
    1.39 +		<nav class="navigation-b grid-width-70">
    1.40 +			<ul>
    1.41 +				<li><a href="index.html" class="button-a button-a-background">Start</a></li>
    1.42 +				<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>
    1.43 +			</ul>
    1.44 +		</nav>
    1.45 +	</div>
    1.46 +</header>
    1.47 +
    1.48 +<main>
    1.49 +	<div class="adjoined-top">
    1.50 +		<div class="grid-container">
    1.51 +			<div class="content grid-width-100">
    1.52 +				<h1>Congratulations!</h1>
    1.53 +				<p>
    1.54 +					If you can see CKEditor below, it means that the installation succeeded.
    1.55 +					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.
    1.56 +				</p>
    1.57 +			</div>
    1.58 +		</div>
    1.59 +	</div>
    1.60 +	<div class="adjoined-bottom">
    1.61 +		<div class="grid-container">
    1.62 +			<div class="grid-width-100">
    1.63 +				<div id="editor">
    1.64 +					<h1>Hello world!</h1>
    1.65 +					<p>I'm an instance of <a href="http://ckeditor.com">CKEditor</a>.</p>
    1.66 +				</div>
    1.67 +			</div>
    1.68 +		</div>
    1.69 +	</div>
    1.70 +
    1.71 +	<div class="grid-container">
    1.72 +		<div class="content grid-width-100">
    1.73 +			<section id="sample-customize">
    1.74 +				<h2>Customize Your Editor</h2>
    1.75 +				<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>
    1.76 +		<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>
    1.77 +<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>
    1.78 +<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>
    1.79 +<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>
    1.80 +<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>
    1.81 +<span style="padding-right: 0.1px;">};</span></code></pre>
    1.82 +			</section>
    1.83 +
    1.84 +			<section>
    1.85 +				<h2>Toolbar Configuration</h2>
    1.86 +				<p>If you want to reorder toolbar buttons or remove some of them, check <a href="toolbarconfigurator/index.html">this handy tool</a>!</p>
    1.87 +			</section>
    1.88 +
    1.89 +			<section>
    1.90 +				<h2>More Samples!</h2>
    1.91 +				<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>
    1.92 +			</section>
    1.93 +
    1.94 +			<section>
    1.95 +				<h2>Developer's Guide</h2>
    1.96 +				<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>
    1.97 +				<ul>
    1.98 +					<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>
    1.99 +					<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>
   1.100 +				</ul>
   1.101 +					<p>When you have the basics sorted out, feel free to browse some more advanced sections like:</p>
   1.102 +				<ul>
   1.103 +					<li><a href="http://docs.ckeditor.com/#!/guide/dev_features">Functionality Overview</a> &ndash; Descriptions and samples of various editor features.</li>
   1.104 +					<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>
   1.105 +				</ul>
   1.106 +			</section>
   1.107 +
   1.108 +			<section>
   1.109 +				<h2>CKEditor JavaScript API</h2>
   1.110 +				<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>
   1.111 +			</section>
   1.112 +		</div>
   1.113 +	</div>
   1.114 +</main>
   1.115 +
   1.116 +<footer class="footer-a grid-container">
   1.117 +	<div class="grid-container">
   1.118 +		<p class="grid-width-100">
   1.119 +			CKEditor &ndash; The text editor for the Internet &ndash; <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
   1.120 +		</p>
   1.121 +		<p class="grid-width-100" id="copy">
   1.122 +			Copyright &copy; 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> &ndash; Frederico Knabben. All rights reserved.
   1.123 +		</p>
   1.124 +	</div>
   1.125 +</footer>
   1.126 +<script>
   1.127 +	initSample();
   1.128 +</script>
   1.129 +
   1.130 +</body>
   1.131 +</html>