shimbi's picture
Joined: 10/12/2014
Posts: 3
Sample posted on CKEditon CD site not working

when i created simple html file with code 

<!DOCTYPE html>

<html>

    <head>

        <meta charset="utf-8">

        <title>CKEditor</title>

        <script src="//cdn.ckeditor.com/4.4.6/standard/ckeditor.js"></script>

    </head>

    <body>

        <textarea name="editor1"></textarea>

        <script>

            CKEDITOR.replace( 'editor1' );

        </script>

    </body>

</html>

 

not working, any clue, do we need to do somthing more?

flh
flh's picture
Joined: 20/03/2013
Posts: 94
It works

I tested by copy/paste from the site, and then also by pasting the code you show above.  And it works in both cases.

Have you tried the same script on different computers?

shimbi's picture
Joined: 10/12/2014
Posts: 3
Tried on Mac, let me try it

Tried on Mac, let me try it on windows

shimbi's picture
Joined: 10/12/2014
Posts: 3
Thanks i created file on

Thanks i created file on widows, it worked, but file i cretaed on mac not working

kiahua's picture
Joined: 01/03/2015
Posts: 3
Any ideas on a solution? Or

Any ideas on a solution? Or another event I could attach to?

kiahua's picture
Joined: 01/03/2015
Posts: 3
Any ideas on a solution? Or

Any ideas on a solution? Or another event I could attach to?

 

_____________

bella

wiktor's picture
Joined: 16/07/2007
Posts: 1669
You should run the HTML file

You should run the HTML file via the web server. If you open the file straight from your local file system and the protocol is file:/// then the samples may not work becuase "//" is used in the path to ckeditor.js.

Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+