Home

CKEditor v4x Example - Two Input Areas

This example illustrate the use of the embedded toolbar within CKEditor, across two input areas.


Input 1

Input 2

Key HTML Code

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CK Editor v4x Example</title>

<script type="text/javascript" src="/integration/ckeditor_v4/ckeditor.js"></script>
</head>
<body>
<a href="/index.php">Home</a>

<h1>CKEditor v4x Example - Two Input Areas</h1>
<p>This example illustrate the use of the embedded toolbar within CKEditor, across two input areas.</p>
<hr/>

<h2>Input 1</h2>
<textarea id="editor1" name="editor1"></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor1', { toolbar : [ [ 'EqnEditor', 'Italic' ] ] });
</script>

</body>

</head>

© 2004-2014 www.CodeCogs.com, Zyba Ltd.