mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-06-13 20:31:05 +00:00
first commit
This commit is contained in:
+594
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
|
After Width: | Height: | Size: 260 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 172 B |
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ar', {
|
||||
title: 'إدراج فقرة هنا'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'bg', {
|
||||
title: 'Вмъкнете параграф тук'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ca', {
|
||||
title: 'Insereix el paràgraf aquí'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'cs', {
|
||||
title: 'zde vložit odstavec'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'cy', {
|
||||
title: 'Mewnosod paragraff yma'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'de', {
|
||||
title: 'Absatz hier einfügen'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'el', {
|
||||
title: 'Εισάγετε παράγραφο εδώ '
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'en', {
|
||||
title: 'Insert paragraph here'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'eo', {
|
||||
title: 'Enmeti paragrafon ĉi-tien'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'es', {
|
||||
title: 'Insertar párrafo aquí'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'eu', {
|
||||
title: 'Txertatu paragrafoa hemen'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fa', {
|
||||
title: 'قرار دادن بند در اینجا'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fi', {
|
||||
title: 'Lisää kappale tähän.'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fr-ca', {
|
||||
title: 'Insérer le paragraphe ici'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fr', {
|
||||
title: 'Insérez un paragraphe ici'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'gl', {
|
||||
title: 'Inserir aquí o parágrafo'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'hr', {
|
||||
title: 'Ubaci paragraf ovdje'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'hu', {
|
||||
title: 'Szúrja be a bekezdést ide'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'id', {
|
||||
title: 'Masukkan paragraf disini'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'it', {
|
||||
title: 'Inserisci paragrafo qui'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ja', {
|
||||
title: '文をここに挿入'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ko', {
|
||||
title: '여기에 그래프 삽입'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ku', {
|
||||
title: 'بڕگە لێرە دابنێ'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'lv', {
|
||||
title: 'Ievietot šeit rindkopu'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'nb', {
|
||||
title: 'Sett inn nytt avsnitt her'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'nl', {
|
||||
title: 'Hier paragraaf invoeren'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'no', {
|
||||
title: 'Sett inn nytt avsnitt her'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'pl', {
|
||||
title: 'Wstaw nowy akapit'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'pt-br', {
|
||||
title: 'Insera um parágrafo aqui'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'pt', {
|
||||
title: 'Insira aqui o parágrafo'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ru', {
|
||||
title: 'Вставить здесь параграф'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'si', {
|
||||
title: 'චේදය ඇතුලත් කරන්න'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sk', {
|
||||
title: 'Sem vložte paragraf'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sl', {
|
||||
title: 'Vstavite odstavek tukaj'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sq', {
|
||||
title: 'Vendos paragraf këtu'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sv', {
|
||||
title: 'Infoga paragraf här'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'tr', {
|
||||
title: 'Parağrafı buraya ekle'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ug', {
|
||||
title: 'بۇ جايغا ئابزاس قىستۇر'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'uk', {
|
||||
title: 'Вставити абзац'
|
||||
});
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'vi', {
|
||||
title: 'Chèn đoạn vào đây'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'zh-cn', {
|
||||
title: '在这插入段落'
|
||||
});
|
||||
Executable
+1734
File diff suppressed because it is too large
Load Diff
+207
@@ -0,0 +1,207 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Using Magicline plugin — CKEditor Sample</title>
|
||||
<meta charset="utf-8">
|
||||
<script src="../../../ckeditor.js"></script>
|
||||
<link rel="stylesheet" href="../../../samples/sample.css">
|
||||
<meta name="ckeditor-sample-name" content="Magicline plugin">
|
||||
<meta name="ckeditor-sample-group" content="Plugins">
|
||||
<meta name="ckeditor-sample-description" content="Using the Magicline plugin to access difficult focus spaces.">
|
||||
<meta name="ckeditor-sample-isnew" content="1">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="samples">
|
||||
<a href="../../../samples/index.html">CKEditor Samples</a> » Using Magicline plugin
|
||||
</h1>
|
||||
<div class="description">
|
||||
<p>
|
||||
This sample shows the advantages of <strong>Magicline</strong> plugin
|
||||
which is to enhance the editing process. Thanks to this plugin,
|
||||
a number of difficult focus spaces which are inaccessible due to
|
||||
browser issues can now be focused.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Magicline</strong> plugin shows a red line with a handler
|
||||
which, when clicked, inserts a paragraph and allows typing. To see this,
|
||||
focus an editor and move your mouse above the focus space you want
|
||||
to access. The plugin is enabled by default so no additional
|
||||
configuration is necessary.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<label for="editor1">
|
||||
Editor 1:
|
||||
</label>
|
||||
<div class="description">
|
||||
<p>
|
||||
This editor uses a default <strong>Magicline</strong> setup.
|
||||
</p>
|
||||
</div>
|
||||
<textarea cols="80" id="editor1" name="editor1" rows="10">
|
||||
<table border="1" cellpadding="1" cellspacing="1" style="width: 100%; ">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>This table</td>
|
||||
<td>is the</td>
|
||||
<td>very first</td>
|
||||
<td>element of the document.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>We are still</td>
|
||||
<td>able to acces</td>
|
||||
<td>the space before it.</td>
|
||||
<td>
|
||||
<table border="1" cellpadding="1" cellspacing="1" style="width: 100%; ">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>This table is inside of a cell of another table.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>We can type&nbsp;either before or after it though.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>Two succesive horizontal lines (<tt>HR</tt> tags). We can access the space in between:</p>
|
||||
|
||||
<hr />
|
||||
<hr />
|
||||
<ol>
|
||||
<li>This numbered list...</li>
|
||||
<li>...is a neighbour of a horizontal line...</li>
|
||||
<li>...and another list.</li>
|
||||
</ol>
|
||||
|
||||
<ul>
|
||||
<li>We can type between the lists...</li>
|
||||
<li>...thanks to <strong>Magicline</strong>.</li>
|
||||
</ul>
|
||||
|
||||
<p>Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.</p>
|
||||
|
||||
<p>Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.</p>
|
||||
|
||||
<p>Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.</p>
|
||||
|
||||
<div style="border: 2px dashed green; background: #ddd; text-align: center;">
|
||||
<p>This text is wrapped in a&nbsp;<tt>DIV</tt>&nbsp;element. We can type after this element though.</p>
|
||||
</div>
|
||||
</textarea>
|
||||
<script>
|
||||
|
||||
// This call can be placed at any point after the
|
||||
// <textarea>, or inside a <head><script> in a
|
||||
// window.onload event handler.
|
||||
|
||||
CKEDITOR.replace( 'editor1', {
|
||||
extraPlugins: 'magicline', // Ensure that magicline plugin, which is required for this sample, is loaded.
|
||||
allowedContent: true // Switch off the ACF, so very complex content created to
|
||||
// show magicline's power isn't filtered.
|
||||
} );
|
||||
|
||||
</script>
|
||||
</div>
|
||||
<br>
|
||||
<div>
|
||||
<label for="editor2">
|
||||
Editor 2:
|
||||
</label>
|
||||
<div class="description">
|
||||
<p>
|
||||
This editor is using a blue line.
|
||||
</p>
|
||||
<pre class="samples">
|
||||
CKEDITOR.replace( 'editor2', {
|
||||
magicline_color: 'blue'
|
||||
});</pre>
|
||||
</div>
|
||||
<textarea cols="80" id="editor2" name="editor2" rows="10">
|
||||
<table border="1" cellpadding="1" cellspacing="1" style="width: 100%; ">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>This table</td>
|
||||
<td>is the</td>
|
||||
<td>very first</td>
|
||||
<td>element of the document.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>We are still</td>
|
||||
<td>able to acces</td>
|
||||
<td>the space before it.</td>
|
||||
<td>
|
||||
<table border="1" cellpadding="1" cellspacing="1" style="width: 100%; ">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>This table is inside of a cell of another table.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>We can type&nbsp;either before or after it though.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>Two succesive horizontal lines (<tt>HR</tt> tags). We can access the space in between:</p>
|
||||
|
||||
<hr />
|
||||
<hr />
|
||||
<ol>
|
||||
<li>This numbered list...</li>
|
||||
<li>...is a neighbour of a horizontal line...</li>
|
||||
<li>...and another list.</li>
|
||||
</ol>
|
||||
|
||||
<ul>
|
||||
<li>We can type between the lists...</li>
|
||||
<li>...thanks to <strong>Magicline</strong>.</li>
|
||||
</ul>
|
||||
|
||||
<p>Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.</p>
|
||||
|
||||
<p>Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.</p>
|
||||
|
||||
<p>Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.</p>
|
||||
|
||||
<div style="border: 2px dashed green; background: #ddd; text-align: center;">
|
||||
<p>This text is wrapped in a&nbsp;<tt>DIV</tt>&nbsp;element. We can type after this element though.</p>
|
||||
</div>
|
||||
</textarea>
|
||||
<script>
|
||||
|
||||
// This call can be placed at any point after the
|
||||
// <textarea>, or inside a <head><script> in a
|
||||
// window.onload event handler.
|
||||
|
||||
CKEDITOR.replace( 'editor2', {
|
||||
extraPlugins: 'magicline', // Ensure that magicline plugin, which is required for this sample, is loaded.
|
||||
magicline_color: 'blue', // Blue line
|
||||
allowedContent: true // Switch off the ACF, so very complex content created to
|
||||
// show magicline's power isn't filtered.
|
||||
});
|
||||
|
||||
</script>
|
||||
</div>
|
||||
<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-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
||||
Knabben. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user