Hi,
I have created several templates in fcktemplates.xml each wrapped in <div></div> and using external css for layout formatting. I want the user to be able to create a layout from several different type of image/text alignment templates.
The problem I am having is that I can add one template and FCKeditor places the cursor, invisible to the user, right after the previous <div> and let's me add another template one after another in sequence. So far so good.
Now if I want to insert a template somewhere between two templates then I have no way of placing the cursor exactly between the <div> tags of each template content since they are invisible to the user in Edit mode. Even when showing the blocks I am not able to place the cursor correctly without messing up the layout and avoiding that one template ends up within another template's <div></div> content by accident.
I am sorry if i did not explain this too well but does anyone know how to allow a user to insert several templates from the template menu in any order and sequence at a particular cursor placement? That means, If I added templates in the order 1-2-3, how can I insert another template exactly between 1-2?
Thank you for your consideration.
Chris
I have created several templates in fcktemplates.xml each wrapped in <div></div> and using external css for layout formatting. I want the user to be able to create a layout from several different type of image/text alignment templates.
The problem I am having is that I can add one template and FCKeditor places the cursor, invisible to the user, right after the previous <div> and let's me add another template one after another in sequence. So far so good.
Now if I want to insert a template somewhere between two templates then I have no way of placing the cursor exactly between the <div> tags of each template content since they are invisible to the user in Edit mode. Even when showing the blocks I am not able to place the cursor correctly without messing up the layout and avoiding that one template ends up within another template's <div></div> content by accident.
I am sorry if i did not explain this too well but does anyone know how to allow a user to insert several templates from the template menu in any order and sequence at a particular cursor placement? That means, If I added templates in the order 1-2-3, how can I insert another template exactly between 1-2?
Thank you for your consideration.
Chris
Re: Using fcktemplates.xml to insert more than one template