new ckeditor
New ckeditor
This commit is contained in:
BIN
ckeditor/samples/old/assets/inlineall/logo.png
Normal file
BIN
ckeditor/samples/old/assets/inlineall/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
204
ckeditor/samples/old/assets/outputxhtml/outputxhtml.css
Normal file
204
ckeditor/samples/old/assets/outputxhtml/outputxhtml.css
Normal file
@@ -0,0 +1,204 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*
|
||||
* Styles used by the XHTML 1.1 sample page (xhtml.html).
|
||||
*/
|
||||
|
||||
/**
|
||||
* Basic definitions for the editing area.
|
||||
*/
|
||||
body
|
||||
{
|
||||
font-family: Arial, Verdana, sans-serif;
|
||||
font-size: 80%;
|
||||
color: #000000;
|
||||
background-color: #ffffff;
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Core styles.
|
||||
*/
|
||||
|
||||
.Bold
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.Italic
|
||||
{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.Underline
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.StrikeThrough
|
||||
{
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.Subscript
|
||||
{
|
||||
vertical-align: sub;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.Superscript
|
||||
{
|
||||
vertical-align: super;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
/**
|
||||
* Font faces.
|
||||
*/
|
||||
|
||||
.FontComic
|
||||
{
|
||||
font-family: 'Comic Sans MS';
|
||||
}
|
||||
|
||||
.FontCourier
|
||||
{
|
||||
font-family: 'Courier New';
|
||||
}
|
||||
|
||||
.FontTimes
|
||||
{
|
||||
font-family: 'Times New Roman';
|
||||
}
|
||||
|
||||
/**
|
||||
* Font sizes.
|
||||
*/
|
||||
|
||||
.FontSmaller
|
||||
{
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.FontLarger
|
||||
{
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
.FontSmall
|
||||
{
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
.FontBig
|
||||
{
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
.FontDouble
|
||||
{
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Font colors.
|
||||
*/
|
||||
.FontColor1
|
||||
{
|
||||
color: #ff9900;
|
||||
}
|
||||
|
||||
.FontColor2
|
||||
{
|
||||
color: #0066cc;
|
||||
}
|
||||
|
||||
.FontColor3
|
||||
{
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.FontColor1BG
|
||||
{
|
||||
background-color: #ff9900;
|
||||
}
|
||||
|
||||
.FontColor2BG
|
||||
{
|
||||
background-color: #0066cc;
|
||||
}
|
||||
|
||||
.FontColor3BG
|
||||
{
|
||||
background-color: #ff0000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indentation.
|
||||
*/
|
||||
|
||||
.Indent1
|
||||
{
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.Indent2
|
||||
{
|
||||
margin-left: 80px;
|
||||
}
|
||||
|
||||
.Indent3
|
||||
{
|
||||
margin-left: 120px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Alignment.
|
||||
*/
|
||||
|
||||
.JustifyLeft
|
||||
{
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.JustifyRight
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.JustifyCenter
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.JustifyFull
|
||||
{
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
/**
|
||||
* Other.
|
||||
*/
|
||||
|
||||
code
|
||||
{
|
||||
font-family: courier, monospace;
|
||||
background-color: #eeeeee;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
border: #c0c0c0 1px solid;
|
||||
}
|
||||
|
||||
kbd
|
||||
{
|
||||
padding: 0px 1px 0px 1px;
|
||||
border-width: 1px 2px 2px 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
blockquote
|
||||
{
|
||||
color: #808080;
|
||||
}
|
||||
59
ckeditor/samples/old/assets/posteddata.php
Normal file
59
ckeditor/samples/old/assets/posteddata.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Sample — CKEditor</title>
|
||||
<link rel="stylesheet" href="sample.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="samples">
|
||||
CKEditor — Posted Data
|
||||
</h1>
|
||||
<table border="1" cellspacing="0" id="outputSample">
|
||||
<colgroup><col width="120"></colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Field Name</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
|
||||
if (!empty($_POST))
|
||||
{
|
||||
foreach ( $_POST as $key => $value )
|
||||
{
|
||||
if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
|
||||
continue;
|
||||
|
||||
if ( get_magic_quotes_gpc() )
|
||||
$value = htmlspecialchars( stripslashes((string)$value) );
|
||||
else
|
||||
$value = htmlspecialchars( (string)$value );
|
||||
?>
|
||||
<tr>
|
||||
<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
|
||||
<td><pre class="samples"><?php echo $value; ?></pre></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<div id="footer">
|
||||
<hr>
|
||||
<p>
|
||||
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
||||
</p>
|
||||
<p id="copy">
|
||||
Copyright © 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
ckeditor/samples/old/assets/sample.jpg
Normal file
BIN
ckeditor/samples/old/assets/sample.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
92
ckeditor/samples/old/assets/uilanguages/languages.js
Normal file
92
ckeditor/samples/old/assets/uilanguages/languages.js
Normal file
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/* exported CKEDITOR_LANGS */
|
||||
|
||||
var CKEDITOR_LANGS = ( function() {
|
||||
var langs = {
|
||||
af: 'Afrikaans',
|
||||
ar: 'Arabic',
|
||||
az: 'Azerbaijani',
|
||||
bg: 'Bulgarian',
|
||||
bn: 'Bengali/Bangla',
|
||||
bs: 'Bosnian',
|
||||
ca: 'Catalan',
|
||||
cs: 'Czech',
|
||||
cy: 'Welsh',
|
||||
da: 'Danish',
|
||||
de: 'German',
|
||||
'de-ch': 'German (Switzerland)',
|
||||
el: 'Greek',
|
||||
en: 'English',
|
||||
'en-au': 'English (Australia)',
|
||||
'en-ca': 'English (Canadian)',
|
||||
'en-gb': 'English (United Kingdom)',
|
||||
eo: 'Esperanto',
|
||||
es: 'Spanish',
|
||||
et: 'Estonian',
|
||||
eu: 'Basque',
|
||||
fa: 'Persian',
|
||||
fi: 'Finnish',
|
||||
fo: 'Faroese',
|
||||
fr: 'French',
|
||||
'fr-ca': 'French (Canada)',
|
||||
gl: 'Galician',
|
||||
gu: 'Gujarati',
|
||||
he: 'Hebrew',
|
||||
hi: 'Hindi',
|
||||
hr: 'Croatian',
|
||||
hu: 'Hungarian',
|
||||
id: 'Indonesian',
|
||||
is: 'Icelandic',
|
||||
it: 'Italian',
|
||||
ja: 'Japanese',
|
||||
ka: 'Georgian',
|
||||
km: 'Khmer',
|
||||
ko: 'Korean',
|
||||
ku: 'Kurdish',
|
||||
lt: 'Lithuanian',
|
||||
lv: 'Latvian',
|
||||
mk: 'Macedonian',
|
||||
mn: 'Mongolian',
|
||||
ms: 'Malay',
|
||||
nb: 'Norwegian Bokmal',
|
||||
nl: 'Dutch',
|
||||
no: 'Norwegian',
|
||||
oc: 'Occitan',
|
||||
pl: 'Polish',
|
||||
pt: 'Portuguese (Portugal)',
|
||||
'pt-br': 'Portuguese (Brazil)',
|
||||
ro: 'Romanian',
|
||||
ru: 'Russian',
|
||||
si: 'Sinhala',
|
||||
sk: 'Slovak',
|
||||
sq: 'Albanian',
|
||||
sl: 'Slovenian',
|
||||
sr: 'Serbian (Cyrillic)',
|
||||
'sr-latn': 'Serbian (Latin)',
|
||||
sv: 'Swedish',
|
||||
th: 'Thai',
|
||||
tr: 'Turkish',
|
||||
tt: 'Tatar',
|
||||
ug: 'Uighur',
|
||||
uk: 'Ukrainian',
|
||||
vi: 'Vietnamese',
|
||||
zh: 'Chinese Traditional',
|
||||
'zh-cn': 'Chinese Simplified'
|
||||
};
|
||||
|
||||
var langsArray = [];
|
||||
|
||||
for ( var code in CKEDITOR.lang.languages ) {
|
||||
langsArray.push( { code: code, name: ( langs[ code ] || code ) } );
|
||||
}
|
||||
|
||||
langsArray.sort( function( a, b ) {
|
||||
return ( a.name < b.name ) ? -1 : 1;
|
||||
} );
|
||||
|
||||
return langsArray;
|
||||
} )();
|
||||
Reference in New Issue
Block a user