Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of changing dede Editor to kindEditor Editor

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to convert dede editors to kindEditor editors. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How to change the dede editor to the kindEditor editor?

Recently, due to the needs of the project, in doing dedeCMS, I found that ckEditor included in dede is not very good at word pasting. The content of ctrl+V directly from word is very different from that of wrod. Finally, the test is successful on kindEditor, and the style copied by word can be completely preserved. See the illustration below.

First, take a look at the effect picture:

Considering the unity of the dede system, instead of directly modifying the article_edit.htm template, we can change the editor with only one small change.

First download the packaged kindEditor_for_dedeCMS.rar.

After decompressing, you get a kindeditor directory, which he copies to the root directory of dede and is easy for include/ to clip.

Then replace the original inc_fun_funAdmin.php file with the inc_fun_funAdmin.php under kindeeditor. This file is in the dede root directory / include/inc.

Then modify the system configuration in the cms background:

Just save it.

If you cannot modify the system configuration as an administrator, you can modify the dede root directory / data/config.cache.inc.php directly:

It must be set to 'kindEditor',' and the rest will have no effect. If you want to change this value, you can change the corresponding value in the inc_fun_funAdmin.php mentioned above.

Thank you for reading! On the dede editor to kindEditor editor method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report