I upgrade from version 1 to version 2.
I have a page that take the html from a file and insert him into the editor. it work in version 1, but not in 2 (i get a error in line 5: "Object doesn't support this property or method")
1: var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
2: oFCKeditor.BasePath = "/Editor/";
3: oFCKeditor.ToolbarSet = "Basic";
4: oFCKeditor.Create() ;
5: oFCKeditor.InsertHtml('<p>',true);
I have a page that take the html from a file and insert him into the editor. it work in version 1, but not in 2 (i get a error in line 5: "Object doesn't support this property or method")
1: var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
2: oFCKeditor.BasePath = "/Editor/";
3: oFCKeditor.ToolbarSet = "Basic";
4: oFCKeditor.Create() ;
5: oFCKeditor.InsertHtml('<p>',true);
RE: How to add html to the editor?
....
oFCKeditor.Value = '<p>' ;
oFCKeditor.Create() ;
RE: How to add html to the editor?
So to insert all the data in one value line this is problem...
RE: How to add html to the editor?
oFCKeditor.Value = 'first line<br />' ;
oFCKeditor.Value += 'second line<br />' ;
...