Cloud habitat here Small series of reference to a few articles for everyone to tidy up, the use of friends more support.
For long article paging, the editor manually inserts when controlling page breaks, so the insertion character for the FCK Insert page break has been modified:To modify the method:Open/editor/js/Find
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
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
= '/project/thinphp/vendor/fckeditor/';
If you set up a virtual host, the project becomes a virtual document root directory, through a domain name can directly access the Web site projects, then, at this time,
$this->basepath= '/thinphp/vendor/fckeditor/';
Other parameters such as width and height can be filled or not filled, if the words are the editor's default height and width. InstanceName is the ID and name of the tag where the
value, such as: upload.php?infoid=1213121212, in the server receive program with this trace value saved to the database, You can also limit the total number of uploaded files or total file sizes under a single trace value, otherwise, it's a vulnerability that can upload unlimited files. 3, the final current form submission, and then based on the editor submitted HTML content and database upload content to compare, delete all unused upload file 4, Per
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
Ewebeditor Editor button is invalid, IE8 Ewebeditor Editor is unable to use the problem-solving method has two, one is the following method by modifying the JS file, in fact, we can also use the second method by adding this sentence to the page.
Copy Code code as follows:
Or
Copy Code code as follows:
The above two meaning
Keep a record of the problems you have encountered. The TINYMCE editor used to write this article is powerful, but it's a third party, and the project takes that into account, and it's not convenient to do something customized.
1. Determine the style of the element (or selected part) of the cursor position. Updates the style of the toolbar's corresponding button when the cursor position changes. Under what circumstances will the cursor position change
First question: Time processing
When the page just loaded the FCK assignment value, such as in the information list select a piece of information to view or modify, when the information is added with FCK edit, load the page will load the FCK editor, this time will report an error: "Fckeditorapi undefined", This is why this error occurs because the FCKEDITORAPI i
with ExecCommand is that the generated code may not be standard, as in IE, the text is bold with a B tag instead of a strong label.
Interaction issues
Users can not always enter in the editor, such as bold, insert pictures and other functions are operated through the button. Suppose the user wants to make a bold paragraph of the selected text, and when he presses the Bold button, the selection and focus will follow, so the selection (the selected t
record steps undone Plugins/undo/plugin.jsConfig.undostacksize = 20;Integrate Ckfinder in CKEditor, and note that Ckfinder's path selection is correct.Ckfinder.setupckeditor (null, '/ckfinder/');second, some of the use of skills1, in the page of the immediate settings editorIii. streamlining of CKEditorWhen you deploy to a Web server, the following folders and files can be deleted:/_samples: Sample folder;
Problem Description:
Inserted in the content of the code highlighted, the background editor can be automatically wrapped, but published, in the foreground view, found that the code can not automatically wrap, directly beyond the boundaries of the content page, very beautiful, although the copy can be complete.
Solution:
Find the CSS file for the highlighted code display/E/DATA/ECMSEDITOR/UEDITOR/THIRD-PA
Modification Description:
1. Add Page break function
2, modify the tab event to add two full-width spaces, more in line with the Chinese use habits
As pictured, download the address below: Kindeditor-3.5.1-zh_cn-kingeric.rar
A few comments and advice:
1, copy Word document to editor, how to filter its format (don't tell me how to use toolbar copy)
2, full screen function, how to make it only a fu
(1) Add the following code before
(2) The following code is to embed ewebeditor into the Web page:
Id= content in the "content" to be the same as the id=content in
Only under the/userfiles/folder. This is obviously inappropriate for a multiuser member system's Web site system because it is not possible for all users to share the same resource folder.
Therefore, it is necessary to dynamically configure, so that different users to the picture, Flash and other resource files uploaded to their own private folders.
FCKeditor is configured in the editor\filemanager\connecto
It can be combined with different programming languages such as PHP, JavaScript, ASP, ASP.net, ColdFusion, Java, and ABAP. FCK configuration and use are simple, but the default configuration does not meet all requirements, so we need to know some FCK advanced features.
Get an instance of FCK
Fckeditorapi is a global object that is registered after FCKeditor is loaded, and we can use it to complete various operations on the editor.
Get FCK
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
/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
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.