Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript CKEDITOR.replace( 'editor1' ); function is not working in the code

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #169532
    dnyanesh
    Participant

    Hey Traq ,

    Good morning..
    i need your help for cke editor . i am trying to include ckeditor in HTML code but it is not working. i have included ckeditor.js files in the file.

    i want replace textarea with ckeditor but its not working . please help me out
    here is the code .

    <!DOCTYPE html>
    <html>
    <head>
    <title>A Simple Page with CKEditor</title>

    &lt;script src="ckeditor.js" &gt;&lt;/script&gt;
    

    </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' );
        &lt;/script&gt;
    &lt;/form&gt;
    

    </body>

    </html>

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.