| 1 | <!DOCTYPE html> |
|---|
| 2 | <html dir="rtl"> |
|---|
| 3 | <head> |
|---|
| 4 | <script src="../../ckeditor.js"></script> |
|---|
| 5 | <!--<script src="../../../cke-v3/ckeditor_source.js"></script>--> |
|---|
| 6 | </head> |
|---|
| 7 | <body> |
|---|
| 8 | |
|---|
| 9 | <textarea id="editor1"> |
|---|
| 10 | <p>This is some <strong contenteditable="false">sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p> |
|---|
| 11 | </textarea> |
|---|
| 12 | <div id="editor2" contenteditable="true"> |
|---|
| 13 | <p>This is some <strong contenteditable="false">sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p> |
|---|
| 14 | </div> |
|---|
| 15 | |
|---|
| 16 | <script> |
|---|
| 17 | CKEDITOR.replace( 'editor1' ); |
|---|
| 18 | CKEDITOR.inline( 'editor2' ); |
|---|
| 19 | </script> |
|---|
| 20 | </body> |
|---|
| 21 | </html> |
|---|