Using the Ueditor Editor, the attachment defaults to ueditor/php/upload/, my attachment address is/data/upload/under the site root directory, and needs to be modified Ueditor as follows:
The first step: Open php/config.php Modify the picture directory
Copy Code code as follows:
Return Array (
Picture Catalogue
' Imagesavepath ' => Array (
'.. /.. /.. /.. /data/upload '
)
);
Step two: Picture upload and remo
Thank Csdn Community Hsboy User's post
Original:
6/F Hsboy (PHP it!) reply to 2006-03-05 18:44:07 score 60
Assume
1, you want to use FCKeditor edited content through $smarty->assign (' content ', $content) passed to the template
2. The FCKeditor editor is placed in the directory where the currently invoked PHP program is located (note that the directory where the template file is located) is FCKeditor
The template can only be written like this
1, first to the official website download FCKeditor2.6.5 multi-language version. Http://ckeditor.com/download, note: The first is the latest 3.0.1 version, the second is FCKeditor 2.6.5
2, delete unnecessary things:
Delete the/fckeditor/directory except the fckconfig.js,fckeditor.js,fckstyles.xml,fcktemplates.xml,fckeditor.php,fckeditor_php5.php, fckeditor_php4.php
All documents other than seven documents;
Deletes the directory/editor/_source (basic
Centos 7.0 system installation and configuration graphic tutorial
Note:
The latest version of centos 7.x is centos 7.0. The following describes how to install and configure centos 7.0.
The server settings are as follows:
Operating System: centos 7.0 64-bit
IP Address: 192.168.21.128
Gateway: 192.168.21.2
DNS: 8.8.8.8 8.4.4
Note:
If the production server is large memory (4 GB memory or above), it is recommended to install a 64-bit version CentOS-7.0-1
1269: [AHOI2006] text editor editor Time Limit:10 Sec Memory limit:162 MBsubmit:2678 solved:996[Submit] [Status] [Discuss] Description
These days, can not play with Kaka, originally cocoa is sleeping and sleeping to do a simple and efficient text editor. Can you help him? To clarify the task target, Cocoa makes an abstract definition of the text
Use vim to create your own python editor and vimpython EditorBasic Configuration
The vim configuration is in the user's main directory.~ /. VimrcFile. If not, you need to create it yourself:
cd ~touch .vimrc
First, do some simple configuration:
Set nocompatible "Disable compatibility with vi Mode set number" display row number set nowrap "not auto-folding set showmatch" show matching brackets set scroloff = 3 "3 rows from top and bottom" set encoding
Background Editor Edit the content output to the foreground will be misplaced how can i solve it?
For example, the background editing a lot of table div and so on if it is copied over the inevitable will encounter missing a
In this case, the foreground output will appear dislocation.
May I ask how to solve it. If you want to add a fixed div to the front desk, how about a master solution?
------Solution--------------------
Less labeling will natural
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 is not yet created when the page load is assigned to FCKEDITORAPI. So how do we solve it?
Spellchecker= "Iespell/spellerpages" to set the spelling checker
Focus to editor when Startupfocus=true/false Open
Stylesxmlpath= "" Setting the location of the XML file that defines the list of CSS styles
Number of space characters produced by the Tabspaces=4 tab key
Toolbarcancollapse=true/false whether to allow expansion/collapse of toolbars
Toolbarsets=object allow use of toolbar collection
Toolbarstartexpanded=true/false Open is toolbar w
number up-key to delete the specified number of rows
YW copy the word of the cursor
YL Copy the letter of the light
YY Copy an entire line
P Paste
Y number y-copy number of lines specified
CW cut words in the cursor
The letter where the CL cuts the light
CC Cut one whole line
C digit C cut number specified number of lines
Note: When the cut is finished, it will enter insert mode, and then press the P key to exit insert mode before pasting.
: line number move cursor to specified line
G move curs
What the HTML online editor is actually
In fact, there are several ways to implement, currently used most, compatibility best or IFRAME way.
Only this empty IFRAME does not work, but also use JavaScript to make it editable:
iframe.contentWindow.document.designMode = "on";iframe.contentWindow.document.contentEditable = true;
In other words, theHTML online editor is an editable iframe.
How to achieve the
First to download the Baidu editor
Introduction of Baidu Editor
You can set the height and width here
When instantiating an editor, you can not do so without the given width height
var ue= ue.geteditor (' myeditor ');
can also be given height and width
var UE = Ue.geteditor (' Myeditor ', {
initialframewidth:800,//set
First of all we see the simplest is the editor code, very simple at the same time we often read.
Copy Code code as follows:
Looking at the example again, this limits the length of the FCKeditor Editor's content.
Copy Code code as follows:
Window.onload=function () {
function fckeditor_oncomplete ()
{
var editor = fckeditorapi.getinstance (' info ');
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 Fckeditorcode_gecko.js and Fckeditorcode_ie.js.Because FCK has two JS files. Fckeditorcod
1. Download Ueditor
URL: http://ueditor.baidu.com/website/download.html (e.g. 1.4.2 version)Extract and rename the folder name to Ueditor and place the phpcms2008 root directory.2. Open include/form.class.php and find the editor functionWill
The code is as follows
Copy Code
function Editor ($textareaid = ' content ', $toolbar = ' Basic ', $width = ', $height = ', $isshowext = 1
Powerful, can be inserted in the language includes: C/c++,xml/html,javascript,css,c#,java,php,python,ruby,sql,asp/visual Basic, you can choose to display the language name in the foreground, display line number , folding and other functions, but also syntax coloring function, than you can imagine the perfect. And can be divided into a text field display code and have the Run button executable way to display. Special to share with you!
The installation method is as follows:
1. After downloading
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 meanings are the same, the wording is slightly diffe
You can place FCKEDITOR in any folder. By default, it is the easiest way to put FCKEDITOR in the folder. if the folder you put uses another name, modify the BasePath parameter in the configuration folder, as shown below:
OFckeditor. BasePath = "/Components/fckeditor /";
In addition, all the folders and files starting with the following line in the FCKEDITOR folder are optional and can be safely deleted from your release. They are not required when the edito
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 code as follows:
These two references are in the head section of the xx
http://onebyonedesign.com/flash/particleeditor/This is originally designed for flash Starling particle System Editor, but in fact, can be compatible with cocos2d.You only need to select "Include. plist file" below the export button.It's simpler to use in cocos2d, just a simple 2-sentence code.var new cc. Particlesystem ("Res/particle.plist"); this. AddChild (emitter);Cocos2d-js free installation Online particle ed
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.