| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 3 | <head> |
|---|
| 4 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 5 | <script type="text/javascript" src="http://ckeditor.com/apps/ckeditor/3.6.3/ckeditor.js"></script> |
|---|
| 6 | </head> |
|---|
| 7 | <body> |
|---|
| 8 | <label for="editor1"> |
|---|
| 9 | <textarea cols="80" id="editor1" name="editor1" rows="10"><html> |
|---|
| 10 | <head> |
|---|
| 11 | <body><img src="screenshot.png"></body> |
|---|
| 12 | </head> |
|---|
| 13 | </html> |
|---|
| 14 | </textarea> |
|---|
| 15 | <label for="editor2"> |
|---|
| 16 | <textarea cols="80" id="editor2" name="editor2" rows="10"> |
|---|
| 17 | <html> |
|---|
| 18 | <head dir="ltr"> |
|---|
| 19 | <body><img src="screenshot.png"></body> |
|---|
| 20 | </head> |
|---|
| 21 | </html> |
|---|
| 22 | </textarea> |
|---|
| 23 | <script type="text/javascript"> |
|---|
| 24 | //<![CDATA[ |
|---|
| 25 | CKEDITOR.replace( 'editor1', |
|---|
| 26 | { |
|---|
| 27 | fullPage : true, |
|---|
| 28 | baseHref : 'http://a.cksource.com/c/1/inc/img/' |
|---|
| 29 | }); |
|---|
| 30 | CKEDITOR.replace( 'editor2', |
|---|
| 31 | { |
|---|
| 32 | fullPage : true, |
|---|
| 33 | baseHref : 'http://a.cksource.com/c/1/inc/img/' |
|---|
| 34 | }); |
|---|
| 35 | //]]> |
|---|
| 36 | </script> |
|---|
| 37 | </body> |
|---|
| 38 | </html> |
|---|