Just a little modification I found to use more than one template in the same editor :
In "fck_template.html"
Find : FCK.SetHTML( FCK._Templates[index].Html ) ;
Replace with : oEditor.FCK.InsertHtml( FCK._Templates[index].Html );
Hope it help someone with same needs than me.
Romuald
In "fck_template.html"
Find : FCK.SetHTML( FCK._Templates[index].Html ) ;
Replace with : oEditor.FCK.InsertHtml( FCK._Templates[index].Html );
Hope it help someone with same needs than me.
Romuald
Re: Use template as templateS
Thanks that helps a lot!!
I often have to add the templates feature for websites that are using an old version of FCKeditor. I'm glad I finally found a way to do it without having to upgrade the version.