Text Editor FCKeditor

Source: Internet
Author: User

 

I have recently discovered a new text editing tool FCKeditor. The following is a brief introduction:
 
FCKeditor introduction:
FCKeditorIs a WYSIWYG text editor dedicated to open source on the web page. It is lightweight and can be used without complicated installation steps. It can be combined with different programming languages such as PHP, JavaScript, ASP, ASP. NET, ColdFusion, Java, and ABAP. "FCK" in the "FCKeditor" name is the abbreviation of the author's name Frederico Caldeira Knabben. FCKeditor is compatible with most Web browsers, such as Internet Explorer 5.5 + (Windows), Mozilla Firefox 1.0 +, Mozilla 1.3 +, and Netscape 7 +. Support for Opera will be added in future versions.

FCKeditor configurations:

AutoDetectLanguage = true/false automatic language Detection
BaseHref = "" Relative Link base address
ContentLangDirection = "ltr/rtl" default text direction
ContextMenu = string array, right-click the menu content
CustomConfigurationsPath = "" custom configuration file path and name
Debug = true/false whether to enable debugging. In this way, when FCKDebug. Output () is called, the content is Output in the debugging window.
DefaultLanguage = "" default language
EditorAreaCss = "" style table file in the editing area
When EnableSourceXHTML = true/false is TRUE, when the code page is switched from the visual interface to the code page, the HTML is processed as XHTML.
EnableXHTML = true/false: Can I use XHTML to replace HTML?
FillEmptyBlocks = true/false use this function to replace empty block-level elements with spaces.
FontColors = "" sets the text color list when the color picker is displayed
FontFormats = "" set the name displayed in the text format list
FontNames = "" FontNames
FontSizes = "" font size in the font size list
ForcePasteAsPlainText = true/false force paste to plain text
ForceSimpleAmpersand = true/false do not convert & symbol to XML Entity
FormatIndentator = "" specifies the characters used to indent the code in the source code format.
FormatOutput = true/false: whether to automatically format the code when output content
FormatSource = true/false whether to automatically format the code when switching to the Code view
FullPage = true/false: whether to allow editing of the entire HTML file or only the content between the bodies
GeckoUseSPAN = true/false: whether to allow the SPAN flag to replace the B, I, U flag
IeSpellDownloadUrl = "" download the spelling checker URL
ImageBrowser = true/false: whether to allow browsing of server functions
ImageBrowserURL = "" the URL that runs when browsing the server
ImageBrowserWindowHeight = "" image browser window height
Imagebrowser1_wwidth = "" image browser window width
LinkBrowser = true/false: whether to allow browsing the server when a link is inserted
LinkBrowserURL = "" browsing the server URL when inserting a link
LinkBrowserWindowHeight = "" link target browser window height
Linkbrowserdomainwwidth = "" link target browser window width
Plugins = object Registration plug-in
PluginsPath = "" plug-in folder
ShowBorders = true/false merge border
SkinPath = "" skin folder location
SmileyColumns = 12 Number of columns in the graphic operator window
SmileyImages = String Array array of image file names in the graphic character window
SmileyPath = "" folder path
SmileyWindowHeight tumbler window height
Smiley1_wwidth tumbler window width
SpellChecker = "ieSpell/Spellerpages" set the spelling checker
When StartupFocus = true/false is enabled, FOCUS to the editor.
StylesXmlPath = "" set the location of the XML file that defines the CSS style list
TabSpaces = 4 Number of space characters generated by the TAB key
ToolBarCanCollapse = true/false: whether to enable or disable the toolbar.
ToolbarSets = the TOOLBAR set can be used for objects.
ToolbarStartExpanded = true/false enable indicates whether to expand a TOOLBAR.
UseBROnCarriageReturn = true/false when you press enter, whether to generate a BR mark or a P or DIV mark

Call FCKeditor in JSP:
Web. xml configuration: <br/> FckEditor for java 2.4 <br/> <servlet> <br/> <servlet-name> Connector </servlet-name> <br/> <servlet-class> <br/> net. fckeditor. connector. connectorServlet <br/> </servlet-class> <br/> <load-on-startup> 1 </load-on-startup> <br/> </servlet> <br/> <servlet-mapping> <br/> <servlet-name> Connector </servlet-name> <br/> <url-pattern> <br/>/fckeditor/ editor/filemanager/connectors/* <br/> </url-pattern> <br/> </servlet-mapping> <br/> use tags in JSP to call the demo: <br/> <% @ page language = "java" import = "java. util. * "pageEncoding =" UTF-8 "%> <br/> <% @ taglib uri =" http://java.fckeditor.net "prefix =" FCK "%> <br/> <ptml> <br/> <pead> <br/> <title> FckEditor test </title> <br/> </pead> <br/> <body style = "text-align: center; "mce_style =" text-align: center; "> <br/> FckEditor test <br/> <pr> <br/> <form action =" ShowData. jsp "method =" post "> <br/> <FCK: editor instanceName =" test "height =" 400pt "> <br/> <jsp: attribute name = "value"> here is the http://baike.baidu.com/"> data test <br/> </jsp: attribute> <br/> </FCK: editor> <br/> <input type = "submit" value = "submit"/> <br/> <input type = "reset" value = "reset"/> <br /> </form> <br/> </body> <br/> </ptml>

FCKeditor Official Website:

Http://www.fckeditor.net

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.