While using the demo, I noticed that FCKEditor only allows one template to be used at a time. When one attempts to add another template, it blows away the previous one.
I would like to use FCKEditor to allow for "snippets". A snippet would be one or more lines of HTML, PHP, or any other code that can be inserted at the point of the cursor. It would NOT wipe out any previous/existing HTML code.
Can this be done with the current version of FCKEditor?
I would like to use FCKEditor to allow for "snippets". A snippet would be one or more lines of HTML, PHP, or any other code that can be inserted at the point of the cursor. It would NOT wipe out any previous/existing HTML code.
Can this be done with the current version of FCKEditor?
Re: Templates? How about Snippets?
Re: Templates? How about Snippets?
in the templates dialog box.
FCKConfig.TemplateReplaceAll = false ;
FCKConfig.TemplateReplaceCheckbox = true ;