Hi all!
I am playing around with the FC-Release and I have to say... very good work. Mainly to Fred but also to all the others, sharing their knowlledge and their efforts with the community.
As I noticed the new templates-feature I was very happy cause that one was definitly missing in former versions.
But one issue in templates is that they affect the whole editorarea.
To use templates only for parts of the editorarea (in my case: insert image within a div, specially formatted and styled ... without touching the rest of the editorarea), just open "dialog/fck_template.html" and change line 161
"FCK.SetHTML( FCK._Templates[index].Html ) ;"
to
"FCK.InsertHtml( FCK._Templates[index].Html ) ;"
Now templating behaves like inserting an object!
Regards
Gerhard
I am playing around with the FC-Release and I have to say... very good work. Mainly to Fred but also to all the others, sharing their knowlledge and their efforts with the community.
As I noticed the new templates-feature I was very happy cause that one was definitly missing in former versions.
But one issue in templates is that they affect the whole editorarea.
To use templates only for parts of the editorarea (in my case: insert image within a div, specially formatted and styled ... without touching the rest of the editorarea), just open "dialog/fck_template.html" and change line 161
"FCK.SetHTML( FCK._Templates[index].Html ) ;"
to
"FCK.InsertHtml( FCK._Templates[index].Html ) ;"
Now templating behaves like inserting an object!
Regards
Gerhard
RE: Templates V.2FC