Rich text editor not working on localhost server

367 views Asked by At

I downloaded the pagedown text editor and theWMD text editor, But they are misbehaving when i try to run them on the localhost server.

When i run it like this it works ok

file:///D:/xampp/htdocs/myfolder/pagedown-master/demo/browser/demo.html

i.e. enter image description here

But when i run it like this from a localhost server it misbehaves

http://localhost/myfolder/pagedown-master/demo/browser/demo.html

i.e.

enter image description here

How it misbehaves:

  • The menu ...wmd-button-bar hides its components and becomes blank
  • The page does not stop loading

Its like it has something to do with the css path to the button image file

.wmd-button > span {
background-image: url(../../wmd-buttons.png);.....

Because when i delete the line the page will stop loading but still the buttons header will ofcourse not be there

Any help!

0

There are 0 answers