Fix Dede editor cannot save Word document style issues

Source: Internet
Author: User
Tags urlencode

CKEditor in the Dede can not save the style, tried a variety of solutions are still not resolved. Finally, the editor is replaced with FCK to be resolved.

First step: Download the FCK editor

Link: http://pan.baidu.com/s/1jG3lJ86 Password: yndf

Step Two:

After download will be pressurized to the ' FCKeditor ' folder upload to the ' include ' directory, in the background system-system basic settings-core settings (HTML Editor (CKEditor, need to FCK users can go to the official website to download):) After the change to "FCK" can be, OK to add articles try it!

Step three: Uploading attachments will prompt

You need to enter a background management directory to log in

Workaround:

Locate the program directory include\dialog\config.php under File. There is a segment code 520 share//Verify user Login Status $cuserlogin = new Userlogin (); if ($cuserLogin->getuserid ()<=0) {if (empty ($adminDirHand)) {showmsg ("<b>Tip: You need to enter a background management directory to log in</b><BR/><form>Please enter a background management directory name:<inputtype= ' hidden 'name= ' GoToPage 'value= ' ". UrlEncode ($dedeNowurl)." '/><inputtype= ' text 'name= ' Admindirhand 'value= ' Dede 'style= ' width:120px; '/><inputstyle= ' width:80px; 'type= ' Submit 'name= ' SBT 'value= ' Transfer to login '/></form>" ," javascript:; ");    Exit (); } $gurl = "... /..    /{$adminDirHand}/login.php?gotopage= ". UrlEncode ($dedeNowurl); echo "<Scriptlanguage= ' JavaScript '> Location='$gurl';</Script>"; 520 share exit ();} $cuserlogin = new Userlogin (), after which the code will be commented to enable registered members to upload pictures, the specific method is: 520 share/*if ($cuserLogin->getuserid ()<=0) {if (empty ($adminDirHand)) {showmsg ("<b>Tip: You need to enter a background management directory to log in</b><BR/><form>Please enter a background management directory name:<inputtype= ' hidden 'name= ' GoToPage 'value= ' ". UrlEncode ($dedeNowurl)." '/><inputtype= ' text 'name= ' Admindirhand 'value= ' Dede 'style= ' width:120px; '/><inputstyle= ' width:80px; 'type= ' Submit 'name= ' SBT 'value= ' Transfer to login '/></form>" ," javascript:; ");    Exit (); } $gurl = "... /..    /{$adminDirHand}/login.php?gotopage= ". UrlEncode ($dedeNowurl); echo "<Scriptlanguage= ' JavaScript '> Location='$gurl';</Script>"; Exit ();} */

Fix Dede editor cannot save Word document style issues

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.