Thinkphp's framework.A at the editor:
The code at a:
介绍:{$Rs.description}
b at the editor:
B Code:
介绍:{$Rs.content}
Now I want to use the editor of B at a place.I changed the code of A to B in this form, and I went backstage and found this piece blank.Also ask the great God of PHP to teach.
Reply content:
Thinkphp
First, PHP calls the FCKeditor method.
Second, JS call FCKeditor method.
Copy CodeThe code is as follows:
Require_once (Path_pre. " Fckeditor.php "); Contains the FCKeditor class,
$oFCKeditor = new FCKeditor (' content '); Create a FCKeditor object with the name of the form content
$oFCKeditor->basepath= ". /fckeditor/"; directory where the editor is located
$oFCKeditor->toolbarset= "Yiyunnet"; The Defaul
\ js \ ckeditor \ config. js and put the following:
Config. enterMode = CKEDITOR. ENTER_BR;
Config. shiftEnterMode = CKEDITOR. ENTER_P;
To:
Config. enterMode = CKEDITOR. ENTER_P;
Config. shiftEnterMode = CKEDITOR. ENTER_BR;4. add a one-click typographical function to the editor.
Modify form. class. php under the phpcms \ libs \ classes column to find ['maxiconmize '], add ['autoformat'] under it, and save
In the sublime editor, how can I quickly enter the Sublime menu bar of the PHP header version declaration- gt; Tools → NewSnippet → to obtain the following content: lt; snippet gt; lt; content gt; lt ;! [CDATA [ lt ;? Php *** @ version1.0 * @ authorxinhua3 * @ date sublime editor how to quickly enter
In php, use CKEDITOR Online Editor 1. official Download1. CKEditor: click the "Downloadzip" button under the CKEditor. NET title to download the file: ckeditor_aspnet_3.6.2.zip? 2. use downloadCKEDITOR3.6.1 (PHP version by default) on the page, and then use the CKEDITOR online editor in
How does php remove the blank characters submitted by the editor like this: HTMLcode amp; lt; p amp; gt; amp; nbsp; amp; nbsp; amp; lt; p amp; gt; ------ solution ------------------ restore to entity as follows: lt; p gt; amp; how does nbsp php remove the blank characters submitted by the editor?
Blank charact
Solution: Copy the PHP file to the online editor. if the file cannot be added to the database, kinderEditor is used. You can add the manually entered content to the database. However, the copied content from WORD or notepad cannot be added to the database, and no error is prompted. Through echo $ SQL; solution: the content copied from PHP to the online
For instructions on php online editor, there is a php extension written in C ++ at hand. this extension can be used to edit files similar to word, pdf, and so on. The usage is roughly as follows: nbsp; CEditParserparser; nbsp; parser. beginParser (); nbsp; while (! Stop) nbsp; { nbsp; FAQs about the php online
For instructions on php online editor, there is a php extension written in C ++ at hand. this extension can be used to edit files similar to word, pdf, and so on. The usage is roughly as follows: nbsp; CEditParserparser; nbsp; parser. b. Instructions on php online editor
FCKeditor Official website: http://ckeditor.com/
FCKeditor Download: http://ckeditor.com/download
Click to go to my csdn download
In the use of PHP to develop a message board, CMS, blogs are involved in the processing of text information, how the information is beautifully displayed in front of the reader is the PHP site developers to pursue, and the online editor
Earlier versions are also possibly vulnerable. Information: Affected program: Network Weathermap 0.97a Remote-exploit: yes program address: http://www.network-weathermap.com/ Abstract Network Weathermap 0.97a is vulnerable to a persistent XSS when displaying available files. introduction Network Weathermap is a network visualisation tool, to take data you already have and show you an overview of your network in map form. support is built in for RRD, MRTG (RRD and old log-format), and tab-delimit
The following code will be called in html lt; scriptsrcfckeditorfckeditorjs gt; lt; script gt; lt; scripttypetext webpage effect gt; functionshowfck () {varofckeditorn
The following code is to be called in html.
Function showfck (){
Var ofckeditor = new fckeditor ('content ');
Ofckeditor. basepath = 'fckeditor /';
Ofckeditor. toolbarset = 'basic ';
Ofckeditor. width = '000000 ';
Ofckeditor. height = '000000 ′;
Ofckeditor. value = ";
Ofckeditor. re
In php, use CKEDITOR Online Editor 1. official Download1. CKEditor: click the "Downloadzip" button under the CKEditor. NET title to download the file: ckeditor_aspnet_3.6.2.zip? II. use downlo on the page to use the CKEDITOR online editor in php
1. Official Download1. CKEditor: click the "Download zip" button under t
rows backNyy: Including the current line, copy the contents of n rows behindP: Paste Copy Good content◇ related quick action: U:undo revocationJ: Merge up and down two linesR: When a character is replaced. (point): Repeat the last used instruction◇ Edit mode Toggle: "A,e,i,o" to switch◇a: Cursor moves backward one bit, into edit mode ◇i: Cursor and character are not changed, enter edit mode◇o: New line into edit mode, enter edit mode◇s: Delete the character of the cursor and enter edit mode◇
dreamweaver. then replace them with htmlspecialchars ($ row ['value'], ENT_COMPAT, 'gb2312') in batches to ensure that the system forms are correct.
However, this modification method does not support Chinese in the editor. you need to modify the editor:
Include/ckeditor/ckeditor_php5.php file
Find code
$ Out ="
". Htmlspecialchars ($ value)."\ N ";
Changed:
$
My problem is this: I developed in the local, get a rich text editor Ueditor, for convenience, I follow the original configuration, the PHP file is placed under JS, the whole path is like this: Http://localhost/msk/web/bund ..., This is the local development path. Where MSK this is a project folder under the root directory. There is no problem at this time. Rich text All things can be uploaded. But when I u
Tip: php is developed in the zend editor. the code prompts a single variable. if it is an object and requires code prompts, you need to add a comment: @ var nbsp; daoInitdaoInit is the class name *** @ varserviceInit * protected $ service. if it is a function, an object is returned and a code prompt is required. add the note: @ returndao, php is developed in the
It's OK to call in HTML below
Today we are going to talk about how the PHP tutorial invokes code such as
?Include (".. /editor/fckeditor.php ");
$ofckeditor = new FCKeditor (' Fckeditor1 ');$ofckeditor->basepath = '.. /editor/';$ofckeditor->value = ';$ofckeditor->width = ' 100% ';$ofckeditor->height = ' 360 ';$ofckeditor->create ();
?>
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.