Guest User

Untitled

a guest
Jan 10th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1.                 $adminedit = <<<HTML
  2.                         "<form>
  3.            <textarea name='editor1' id='editor1' rows='10' cols='80'>
  4.                This is my textarea to be replaced with CKEditor.
  5.            </textarea>
  6.            <script>
  7.                // Replace the <textarea id='editor1'> with a CKEditor
  8.                // instance, using default configuration.
  9.                CKEDITOR.replace( 'editor1' );
  10.            </script>
  11.        </form>"
  12.                 HTML;
Advertisement
Add Comment
Please, Sign In to add comment