when switching to Code viewFckconfig.formatoutput = true; Whether to automatically format the code when the content is outputFckconfig.formatindentator = '; When the code is indented in source format to use the characterFckconfig.startupfocus = false; Whether the focus is on the editor when the page is opened, whether the cursor stays on the FCKeditorFckconfig.forcepasteasplaintext = false; Whether to forc
content that contains HTML and JavaScript, so you must set the validaterequest of the page using FCKeditor to False. (
1, download FCKeditor 2.4, it mainly includes core documents.
2, download FCKeditor 2.2. Net, including asp.net dll files, and extract to any directory.
3, decompression FCKeditor 2.4 Compression package, the folder FCKeditor copied to the root directory of the site, here to ASP.net 2.0 test project as an example, copy it to the ro
For the Web page Editor to do the project is a very useful editor, greatly reduce the burden on developers, feel Kindsoft is a good choice, so also in constant use.
under the face of some simple configuration to sum up:
The first is to import the downloaded Kindsoft file into the project directory;
Copy Code c
And you can use direct upload and Ajax two ways to handle content. To give some inspiration and help to some of the peers who have not yet been able to integrate FCKeditor successfully,
I would like to describe my experience and experiences as follows: The purpose of the application is to integrate the FCKeditor editor into the thinkphp, so that users can work on the text and images that are about to be published online as they would edit word.
Applic
of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are also placed in the root directory (tips: recommended in the root directory, and recommended to use when the set path also takes an absolute path, such as "/fckeditor/", and my Custom setting is "/" , this facilitates fckeditor update
following icon of the file name, and then the following three numbers are each line shows the number of expressions and the width and height of the pop-up window, which depends on the size of your expression icon arranged by the size of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are
FCKeditor use instructions 1. FCKeditor Introduction FCKeditor This open-source HTML text Editor allows Web programs to have powerful editing features such as Ms Word. FCKeditor supports current popular browsers such as IE 5.5+, Firefox 1.0+, Mozilla 1 .3+ and Netscape 7+.
FCKeditor Lawsuit Party website: http://www.fckeditor.net/
FCKeditor Online Demo:http://www.fckeditor.net/demo
FCKeditor Download Direct
, and recommended to use when the set path also takes an absolute path, such as "/fckeditor/", and my Custom setting is "/" , this facilitates fckeditor update upgrades, and all folders under the Web site can be invoked arbitrarily, without the problem of other folder names being changed and the editor not available elsewhere.
Open fckeditor.asp file, find Sbasepath = "/fckeditor/" to Sbasepath = "/"
Open t
then the following three numbers are each line shows the number of expressions and the width and height of the pop-up window, which depends on the size of your expression icon arranged by the size of the window. OK, the total profile modification is complete.
Next is the editor location setting, my custom is to put editor in the root directory, the first five files are also placed in the root directory (t
This article introduces 18 valuable web page code editors. After two days to prepare the start of my small project, which to use the following east, feel particularly good, hereby record!1.codeanywhereCodeanywhere is the code editor that runs on the browser, embedded with a powerful FTP client. Most popular web formats
/connectors/aspx/config.ascx
appSettings> 4. Use in Web pages FCKeditor configuration: Go to the FCKeditor folder and edit the Fckconfig.js file 1. Modify (change to the language you are currently using) var _filebrowserlanguage = ' aspx '; //asp | aspx | cfm | lasso | perl | php | py var _quickuploadlanguage = ' aspx '; //asp | aspx | cfm | lasso | perl | php | py 2. Modify the configuration language fckconfig.defaultlanguage = ' en ' f
CKEditor, formerly known as FCKeditor, has been used for many years, the function of nature did not say. Recently upgraded to version 3.0, seems to rewrite the code, so the way to build a change, should be said to be simpler.
Related address:
Official website: http://ckeditor.com/
Download Address: Http://ckeditor.com/download
ckfinder:http://ckfinder.com/for upload (four languages, download as needed)
Deployment:
Download the CKEditor, unzip the site/ckeditor/below (of course, the name can b
, note that the path to be started by root ===3 place ======================
Modify here to modify the Web-inf/style.xml file correspondence Modify here to modify ewebeditor.jsp file correspondence
Modify here to modify upload.jsp file correspondence
For example, to upload to the root directory under/upload/:
In upload.jsp
String suploadfilepath= "/upload/";
In Style.xml
In ewebeditor.jsp
String suploadfilepath= ".. /upload/"//Set File upload image di
first, the use of methods: 1. Introduction of CKEditor Core file in page 2. Insert HTML controls where you use the editor If it is a asp.net environment, you can also use server-side controls Note Add class= "CKEditor" to the control.3, replace the corresponding control into editor code4, configuration Editor (these co
In some versions of Eclipse and MyEclipse for Java EE, each double-click on a JSP file opens half a Web browser, half a page code editor,and write code always very uncomfortable, automatically refresh the page editor.The cursor that causes the code to be written will always jump automatically,Always right-click a JSP f
After I modify Connectorservlet.java and Simpleuploaderservlet.java two files, regenerate Fckeditor-java-2.3.jar package, to solve all the garbled problem, there are 3 to modify
1. Modify the character encoding of the Web container, if the Web container is Tomcat, modify the Conf/server.xml file, add "uriencoding=" Utf-8 "" in two connector, I use the Utf-8 code here, So modify to Utf-8, if the item is GB23
false to off.
File browsing and browsing in the upload function:
Copy Code code as follows:
Fckconfig.linkbrowser = false;
Fckconfig.imagebrowser = false;
Fckconfig.flashbrowser = false;
Quick File Upload function:
Copy Code code as follows:
Fckconfig.linkupload = true;
Fckconfig.imageupload = true;
Fckconfig.flashupload = true;
Second, set up two ASP files:
Editor\filemanager\browser\default\co
', '-', ' about ']
// ];
};
The application of CKEditor
1. Load ckeditor.js in aspx page or master template page
2. Modify page instruction validaterequest= "false"
3. Use of CKEditor in Text= ' 4. Get or set the contents of the editor
Get the contents of the editor
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.