分享一个WeCenter2.5.10版本使用百度编辑器的方法

哥特复兴
哥特复兴 This guy is lazy,Introduction has not been set

7 People liked this article · 11908 views

o(-`д´- 。)。・゚゚・(>д<;)・゚゚ 这里不讲具体方法了,反正亲测有效,大家使用后有什么问题可以说下,**不保证会解决哦**。我用的是ueditor最新的php版本,功能都是默认的,要自己添加或减少编辑器功能的可以参考官方API[http://ueditor.baidu.com/doc/#](http://ueditor.baidu.com/doc/#)
2014-05-10_020307.png
2014-05-10_012923.png
2014-05-10_030613.png
##使用方法: 下载文件解压后把里面的四个文件分别放到程序根目录下,覆盖就可以了。当然你最好自己看清楚一下各个文件的路劲. 这个改动很大,所以呢没有太必要必要的同学就不要换了,**使用后导致网站出现404我个人概不负责**{{|└(>o< )┘|}},一个百度编辑器就好几M呢Σ(-`Д´-ノ;)ノ,所以呢Markdown这么高大上的轻量级编辑器还是不错的。 在手机上这个编辑器无法自适应大小,所以有需要的可能要自己改下css。我这里改了些iphon和ipad竖屏的宽度,有需要的可以参考下在common.css添加: {{{ @media (max-width:321px){ .edui-default .edui-editor, .edui-default .edui-editor-toolbarbox, .edui-default .edui-editor-toolbarboxouter, .edui-default .edui-editor-iframeholder , .autosize.edui-default{width: 243px!important;} .edui-splitbutton-body, .edui-menubutton-body, .edui-combox-body {display: none;} } }}} {{{ @media (max-width:640px){ .edui-default .edui-editor, .edui-default .edui-editor-toolbarbox, .edui-default .edui-editor-toolbarboxouter, .edui-default .edui-editor-iframeholder , .autosize.edui-default {width: 489px!important;} .edui-splitbutton-body, .edui-menubutton-body, .edui-combox-body {display: none;} } }}}

Published on 2014-05-10 03:34

Disclaimers:

This document is written by 哥特复兴 Original published on WeCenter ,The copyright belongs to the author。

Log in,More exciting content waiting for you to find,Contribute wonderful answers,Participate in comment interaction

go Sign in! No accountgoregister

不黑不成神
2014-09-16 15:23
请问现在3.0版本还能这样修改吗?
vissul
2014-07-07 16:08
覆盖完了没显示出来 UE is not defined
赚外网
2014-07-03 10:49
请问如何减少编辑器功能?能不能出个教程?
nongfu998
2014-07-01 18:33
请问最近有更新吗?还是继续用这个版本的?谢谢
裸奔
2014-06-18 10:19
已改造使用 暂时没发现什么问题!
seeyou
2014-05-11 23:20
ok,3q。
哥特复兴
2014-05-11 23:16
代码高亮自己网上搜索ueditor代码高亮吧
seeyou
2014-05-11 23:09
很给啊,在本地玩玩很有意思啊。就是代码不能高亮。
希冀之殇
2014-05-11 19:58
楼上别太难过了QAQ
cnteacher
2014-05-10 09:02
想想我们真是可悲。空格问题都搞不定的编辑器,不知道官方死守的是啥?
All Rights Reserved Powered BY WeCenter V4.1.0 © 2023 粤ICP备17116736号