Guest User

Untitled

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