Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>CKEDITOR.appendTo — CKEditor Sample</title>
- <meta charset="utf-8">
- <script src="../ckeditor.js"></script>
- <link rel="stylesheet" href="sample.css">
- </head>
- <body>
- <h1 class="samples">
- <a href="index.html">CKEditor Samples</a> » Append To Page Element Using JavaScript Code
- </h1>
- <textarea class="ckeditor" cols="80" id="section1" name="editor1" rows="10">
- {VARNAME}<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>
- </textarea>
- <br>
- <input type='button' value='Код' onclick="console.log(document.getElementById('section1').value)">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment