<!DOCTYPE html> <html> <head> <title>A Simple Page with CKEditor</title> <!-- Make sure the path to CKEditor is correct. --> <script src="../ckeditor.js"></script> </head> <body> <textarea name="editor1"> </textarea> <script> // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace("editor1"); </script> </body> </html>
Где написано?Настраиваю все как написано
Надеюсь, без обид.
<!DOCTYPE html> <html> <head> <title>A Simple Page with CKEditor</title> <!-- Make sure the path to CKEditor is correct. --> <script src="../ckeditor.js"></script> </head> <body> <textarea name="editor1"> </textarea> <script> // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace("editor1"); </script> </body> </html>
<html> <head> <title>A Simple Page with CKEditor</title> <!-- Make sure the path to CKEditor is correct. --> <script src="/ckeditor/ckeditor.js"></script> </head> <body> <form> <textarea name="editor1" id="editor1" rows="10" cols="80"> This is my textarea to be replaced with CKEditor. </textarea> <script> CKEDITOR.replace( 'editor1', { customConfig : "/ckeditor/editor/config.js", }); </script> </form> </body> </html>