FCKeditor 2.5 for Asp.net configuration details

Source: Internet
Author: User

take FCKeditor 2.5 as an example
fckconfig. JS file
this file is the core configuration file of FCKeditor. Specific parameter description:
// custom configuration path
fckconfig. customconfigurationspath = '';
// edit the path of the style table file corresponding to the region, fckconfig. basepath is the base path of the FCKeditor folder, followed by the CSS style table path. Open the CSS folder and you can see three styles to choose from.
fckconfig. editorareacss = fckconfig. basepath + 'css/fck_editorarea.css ';
// edit the regional style
fckconfig. editorareastyles = '';
// preview CSS on the toolbar
fckconfig. toolbarcombopreviewcss = '';
// document type
fckconfig. doctype = '';
// base link
fckconfig. basehref = '';
// whether to allow editing of the entire HTML file or only the content between the bodies (Optional: true/false)
fckconfig. fullpage = false;

// The following option determines whether the "show blocks" feature is enabled or not at startup.
Fckconfig. startupshowblocks = false;
// Whether to enable the debugging function. In this way, when fckdebug. Output () is called, the content will be output in the debugging window (option: True/false)
Fckconfig. DEBUG = false;
//
Fckconfig. allowquerystringdebug = true;
// FCKeditor skin path, that is, the toolbar style. Three options are available
Fckconfig. skinpath = fckconfig. basepath + 'Skins/default /';
// Pre-installed Image
Fckconfig. preloadimages = [fckconfig. skinpath + 'images/toolbar.start.gif ', fckconfig. skinpath + 'images/toolbar.buttonarrow.gif'];
// Plug-In Path
Fckconfig. pluginspath = fckconfig. basepath + 'ins INS /';

// Fckconfig. plugins. Add ('autogrow ');
// Fckconfig. plugins. Add ('dragresizetable ');
Fckconfig. autogrowmax= 400;

// Fckconfig. protectedsource. Add (/<% [\ s] *? %>/G); // ASP style server side code <%... %>
// Fckconfig. protectedsource. Add (/<\? [\ S] *? \?> /G); // PHP style server side code
// Fckconfig. protectedsource. Add (/(<asp: [^ \>] +> [\ s | \ s] *? <\/ASP: [^ \>] +>) | (<asp: [^ \>] + \/>)/Gi); // ASP. net style tags <asp: Control>
// Whether to automatically detect the language, that is, when FCKeditor starts, it automatically checks the browser Language
Fckconfig. autodetectlanguage = true;
// Default language, which can be selected based on the language list in the Lang folder, which is generally ZH-CN. It does not matter if it is not configured. Setting the previous item to true will automatically detect
Fckconfig. defaultlanguage = 'en ';
// The default text direction. Optional, "LTR/RTL", that is, from left to right or from right to left
Fckconfig. contentlangdirection = 'ltr ';
// Process HTML Objects
Fckconfig. processhtmlentities = true;
// Including Latin
Fckconfig. includelatinentities = true;
// Including Greek
Fckconfig. includegreekentities = true;
// Process digital entities
Fckconfig. processnumericentities = false;
// Additional numeric entity
Fckconfig. additionalnumericentities = ''; // single quote :"'"
// Whether to fill empty Blocks
Fckconfig. fillemptyblocks = true;
// SwitchCodeWhether to automatically format the code During View
Fckconfig. formatsource = true;
// Whether to automatically format the code when output content
Fckconfig. formatoutput = true;
// Specifies the characters used to indent the code in the source code format.
Fckconfig. formatindentator = '';
// Whether the focus is in the editor when enabling, that is, whether the time mark on the page is stuck on FCKeditor
Fckconfig. startupfocus = false;
// Whether to forcibly paste the object content
Fckconfig. forcepasteasplaintext = false;
// Whether to automatically detect file pasting from word. Only Internet Explorer is supported.
Fckconfig. autodetectpastefromword = true; // ie only.
// Whether the drop-down menu is displayed
Fckconfig. showdropdialog = true;
// Do not convert the & symbol into an XML Object
Fckconfig. forcesimpleampersand = false;
// Press the tab key to specify the number of time frame skip items. The default value is zero.
Fckconfig. tabspaces = 0;
// Merge borders
Fckconfig. showborders = true;
// Pop-up
Fckconfig. sourcepopup = false;
// Start the FCKeditor toolbar to check whether the toolbar is expanded by default.
Fckconfig. toolbarstartexpanded = true;
// Whether to collapse or expand the toolbar
Fckconfig. toolbarcancollapse = true;
// Ignore empty paragraph values
Fckconfig. ignoreemptyparagraphvalue = true;
//
Fckconfig. preservesessiononfilebrowser = false;
// Floating panel Index
Fckconfig. floatingpanelszindex = 10000;
// Whether HTML encoding is output
Fckconfig. htmlencodeoutput = false;
// Replace all templates
Fckconfig. templatereplaceall = true;
Fckconfig. templatereplacecheckbox = true;
// Toolbar location,
Fckconfig. toolbarlocation = 'in ';
The above functions are not tested in detail and will be further supplemented after the test is complete.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.