TemplateReplaceAll"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == TemplateReplaceAll == This setting sets the default action of the Template dialog window. If set to '''true''', it will replace the current contents of the editor with the template con...)
 
 
Line 4: Line 4:
 
<pre>FCKConfig.TemplateReplaceAll = false&nbsp;;
 
<pre>FCKConfig.TemplateReplaceAll = false&nbsp;;
 
</pre>  
 
</pre>  
'''NOTE''': If the [[FCKeditor 2.x\Developers Guide\Configuration\Configuration Options\TemplateReplaceCheckbox|TemplateReplaceCheckbox]] is set to "true", the "Replace actual contents" will, by default, reflect this configuration setting. Please view the [[FCKeditor 2.x\Developers Guide\Configuration\Configuration Options\TemplateReplaceCheckbox|TemplateReplaceCheckbox]].
+
'''NOTE''': If the [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/TemplateReplaceCheckbox|TemplateReplaceCheckbox]] is set to "true", the "Replace actual contents" will, by default, reflect this configuration setting. Please view the [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/TemplateReplaceCheckbox|TemplateReplaceCheckbox]].

Latest revision as of 20:53, 9 January 2008

TemplateReplaceAll

This setting sets the default action of the Template dialog window. If set to true, it will replace the current contents of the editor with the template contents. Otherwise, if set to false, the template will be pasted in the cursor (selection) position.
Example:

FCKConfig.TemplateReplaceAll = false ;

NOTE: If the TemplateReplaceCheckbox is set to "true", the "Replace actual contents" will, by default, reflect this configuration setting. Please view the TemplateReplaceCheckbox.

This page was last edited on 9 January 2008, at 20:53.