forked from Wavyzz/dolibarr
New: Update ckeditor to version 4 (part 1)
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 260 B |
Binary file not shown.
|
After Width: | Height: | Size: 172 B |
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ar', {
|
||||
title: 'إدراج فقرة هنا'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'bg', {
|
||||
title: 'Вмъкнете параграф тук'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ca', {
|
||||
title: 'Insereix el paràgraf aquí'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'cs', {
|
||||
title: 'zde vložit odstavec'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'cy', {
|
||||
title: 'Mewnosod paragraff yma'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'de', {
|
||||
title: 'Absatz hier einfügen'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'el', {
|
||||
title: 'Εισάγετε παράγραφο εδώ'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'en-gb', {
|
||||
title: 'Insert paragraph here'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'eo', {
|
||||
title: 'Enmeti paragrafon ĉi-tien'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'es', {
|
||||
title: 'Insertar párrafo aquí'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'et', {
|
||||
title: 'Sisesta siia lõigu tekst'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'eu', {
|
||||
title: 'Txertatu paragrafoa hemen'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fa', {
|
||||
title: 'قرار دادن بند در اینجا'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fi', {
|
||||
title: 'Lisää kappale tähän.'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fr-ca', {
|
||||
title: 'Insérer le paragraphe ici'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'fr', {
|
||||
title: 'Insérez un paragraphe ici'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'gl', {
|
||||
title: 'Inserir aquí o parágrafo'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'he', {
|
||||
title: 'הכנס פסקה כאן'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'hr', {
|
||||
title: 'Ubaci paragraf ovdje'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'hu', {
|
||||
title: 'Szúrja be a bekezdést ide'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'id', {
|
||||
title: 'Masukkan paragraf disini'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'it', {
|
||||
title: 'Inserisci paragrafo qui'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ja', {
|
||||
title: 'ここに段落を挿入'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'km', {
|
||||
title: 'បញ្ចូលកថាខណ្ឌនៅទីនេះ'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ko', {
|
||||
title: '여기에 그래프 삽입'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ku', {
|
||||
title: 'بڕگە لێرە دابنێ'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'lv', {
|
||||
title: 'Ievietot šeit rindkopu'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'nb', {
|
||||
title: 'Sett inn nytt avsnitt her'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'nl', {
|
||||
title: 'Hier paragraaf invoeren'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'no', {
|
||||
title: 'Sett inn nytt avsnitt her'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'pt-br', {
|
||||
title: 'Insera um parágrafo aqui'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'pt', {
|
||||
title: 'Insira aqui o parágrafo'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ru', {
|
||||
title: 'Вставить здесь параграф'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'si', {
|
||||
title: 'චේදය ඇතුලත් කරන්න'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sk', {
|
||||
title: 'Sem vložte paragraf'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sl', {
|
||||
title: 'Vstavite odstavek tukaj'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sq', {
|
||||
title: 'Vendos paragraf këtu'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'sv', {
|
||||
title: 'Infoga paragraf här'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'tr', {
|
||||
title: 'Parağrafı buraya ekle'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'ug', {
|
||||
title: 'بۇ جايغا ئابزاس قىستۇر'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'uk', {
|
||||
title: 'Вставити абзац'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'vi', {
|
||||
title: 'Chèn đoạn vào đây'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'zh-cn', {
|
||||
title: '在这插入段落'
|
||||
} );
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.setLang( 'magicline', 'zh', {
|
||||
title: '在此插入段落'
|
||||
} );
|
||||
1838
htdocs/includes/ckeditor/_source/plugins/magicline/plugin.js
Normal file
1838
htdocs/includes/ckeditor/_source/plugins/magicline/plugin.js
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,206 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Using Magicline plugin — CKEditor Sample</title>
|
||||
<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.">
|
||||
</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-2014, <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