Javascript API Documentation

Last post 10-16-2005, 3:14 PM by podo. 2 replies.
Sort Posts: Previous Next
  •  10-16-2005, 2:24 PM 11754

    Javascript API Documentation

    Hi everyone,
     
    Is there any type of documentation for the JavaScript API? I've seem the example page but I don't see any docs. Thanks!
     
    Also, I've noticed when I try to paste html into the Source Code part, it doesnt work. But if I try to just paste plain text into the srouce code part it works fine. WHy is this!
  •  10-16-2005, 2:53 PM 11755 in reply to 11754

    Re: Javascript API Documentation

    No very clear from your second part ..  But  I used version 5.0 and able to use pasteHTML JS API with no problem ..
     
    Thanks
    Paul
  •  10-16-2005, 3:14 PM 11756 in reply to 11755

    Re: Javascript API Documentation

    Hi,
     
    Say for example you decided to pasteHTML("<div>Hello World</div>"); when the editor is in HTML view. This works fine. When you switch to the Source view you will see your code <div>Hello World</div>. If you decided to stay in Source view and pasteHTML("<div>Hello World</div>"); it does not work correctly. It strips the html tags and inserts just Hello World.
View as RSS news feed in XML