1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>CHEditor Demo</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <script type="text/javascript" src="../cheditor.js"></script>
- </head>
- <body>
- <h2 style="text-align: center">CHEditor Demo</h2>
- <script type="text/javascript">
- function doSubmit (theform)
- {
-
-
-
-
-
-
-
-
-
-
-
-
- alert(myeditor.outputBodyHTML());
- return false;
- }
- </script>
- <div style="width:80%; margin: 0 auto">
- <form method="post" name="theform" onsubmit="return doSubmit(this)">
- <textarea id="fm_post" name="fm_write"></textarea>
- <script type="text/javascript">
- var myeditor = new cheditor();
- myeditor.config.editorHeight = '200px';
- myeditor.config.editorWidth = '100%';
- myeditor.inputForm = 'fm_post';
- myeditor.run();
- </script>
- <div style="margin: 10px 0"> </div>
- <textarea id="fm_post2" name="fm_write2"></textarea>
- <script type="text/javascript">
- var myeditor2 = new cheditor();
- myeditor2.config.editorHeight = '200px';
- myeditor2.config.editorWidth = '100%';
- myeditor2.inputForm = 'fm_post2';
- myeditor2.run();
- </script>
- <div style="text-align: center; margin-top: 20px">
- <input type="submit" value="글 가져오기" />
- </div>
- </form>
- </div>
- <p style="text-align: center">
- <span style="font-family: verdana; font-size: 12px; color: #666">
- Copyright ⓒ 1997-2019 by <b>CHCODE.</b> All right reserved.
- </span>
- </p>
- </body>
- </html>
|