Hi fred,
i develop my first plugin for fckeditor.Description of functionality. Plugin chosen html file send by POST to php a php script return span with processed HTML and one hidden input , if value hidden input is 'ok' , plugin replace current html with value of span,otherwise show value hidden input.I have don part with tollbar item and chosing file,but dont know, how do rest of functionality. Please, if anybody knows how to do, write it here.Thanks for very god editor. Thomas
i develop my first plugin for fckeditor.Description of functionality. Plugin chosen html file send by POST to php a php script return span with processed HTML and one hidden input , if value hidden input is 'ok' , plugin replace current html with value of span,otherwise show value hidden input.I have don part with tollbar item and chosing file,but dont know, how do rest of functionality. Please, if anybody knows how to do, write it here.Thanks for very god editor. Thomas
RE: development of plugin-cleaning HTML- prob
i divide this functionality in three part .
Part One Chosing file
I have integrated my icon into toolbar ,when is clicked ,appear dialog with one input type file .if choosen file have right suffix i enable button ok
Part Two FCKeditor must send to php script by method POST chosen file and php script send back html response with span which includes converted file and hiden input with state of ops.when is status have defined value fck editor must replace all current content value of span .I have programed php side of this part ,but i dont know how did it in fck If you have some intention, send it please Part three replace content .returned html from php have allways two elements hidden input and span if hidden input value have value ok, i must replace curr. html with value included html in div. Please send me any hint Best regards netmole