以前为了方便自己的回复,在评论区加了个编辑器,采用的是 功能:评论区增加编辑器这个文中的方法,当时这个quicktags.js有8kb,在看到了qiqiboy的这个文字编辑器 后,很漂亮。试过加上,但没成功。前段时间再次折腾后,成功加到了自己的博客上了,这个js只有4kb,比之前的小多了。所以,我也就换上了这个美观的文字编辑器,详细折腾步骤请查看全文了解。另外,求解:
<font color="#31aff0">文字颜色</font> //这段无效,求帮助!!编辑器效果如下:

<?php if ($this->is('post')): ?> <script type="text/javascript" src="/usr/themes/One/js/editor.js"> <?php endif; ?> <?php if ($this->is('page')): ?> <script type="text/javascript" src="/usr/themes/One/js/editor.js"> <?php endif; ?>
#toolBar{height:25px;line-height:28px;padding:0 0 0 10px;overflow:hidden;width:95%;} #smelislist{width:145px;display:none;position:absolute;margin:25px -2px;padding:5px;left:10px;background:#F5F5F5;opacity:0.8;z-index:1000;} #toolBar #smelislist a{float:left;width:24px;height:24px;text-align:center;background:none;margin:0;text-indent:0;} .smiley{width:24px;height:24px;} #toolBar #smelislist a.close{background:url(/images/close.png) no-repeat;height:30px;position:absolute;text-indent:-999px;width:30px;height:30px;right:-7px;bottom:-7px;} #toolBar a{text-indent:-999px;background:url(/images/feed.gif) no-repeat;float:left;height:20px;line-height:20px;margin:2px 5px 0 0;overflow:hidden;text-indent:-9999px;width:20px;} #toolBar a.smelis{background-position:0 -755px;} #toolBar a.fontcolor{background-position:0 -775px;} #toolBar a.fontsize{background-position:0 -810px;} #toolBar a.strong{background-position:0 -619px;} #toolBar a.em{background-position:0 -710px;} #toolBar a.del{background-position:0 -725px;} #toolBar a.underline{background-position:0 -474px;} #toolBar a.ahref{background-position:0 -658px;} #toolBar a.imgadd{background-position:0 -637px;} #toolBar a.mp3add{background-position:0 -433px;} #toolBar a.code{background-position:0 -677px;} #toolBar a.bquote{background-position:0 -694px;} #toolBar a.clearFormat{background-position:0 -793px;} #toolBar a.undo{background-position:0 -865px;} #toolBar a.redo{background-position:0 -885px;} #toolBar a.checknum{background-position:0 -825px;float:right;} #toolBar a.resetarea{background-position:0 -846px;float:right;}
童鞋,您来自火星?这里无法寻找您的足迹!
这个小东西真好。。不错啊。
回复留言方便一点,刚才是后台没有设置好可用的html
加粗无效。。。
我试过,应该可以的吧? :arrow:
测试图片
测试字体大小
Fuck-You-To…略过一万字
没有颜色?
颜色就是无效,挺奇怪的。
后台以管理员发出来,又能显示,囧...
把编辑器先撤了,手动敲加色代码,看是否正确处理,如果正确就是编加器的原因
问题还是存在,输入
输出的却是
代码被吃掉了?找不到原因。 :arrow:
被过滤掉了
呵呵
我也好就加上看看
加上了吗??这个
呵呵你这个主题很不错啊
谢谢,欢迎常来看看
测试你的颜色
颜色出来么?
没有出来,据willin大师说:
yle="color:#996600;">咋了?
TYPECHO 小巧精悍啊
呵呵,是啊,我已经用惯了Typecho了,想要的功能都有了。
难道还需要这个大家伙?
typecho的st
还是需要那个家伙的。
只有那一个用不了,讲究吧
(冏是间隔符)也会被吃掉?
吃掉了。。。
被吃掉了!
东西不错~~~
弄起玩玩,呵呵
我按照你的步骤做 怎么加上去图标看不见 点击也没效果
我现在在外出差,不清楚是怎么回事。或许我少写了步骤?
快点回来 讲解下哈
这个…我估计还得一周才回得去吧。你看看qiqiboy的那篇文章吧先…
这个楼层显示还是不错!
呵呵…那是
偶有时间也加一个
有个编辑器评论的时候多少要方便一些
个人觉得 有表情就可以了,,图片视乎都有些多余,,很少有人评论发图片。。。
各取所需吧,有时还是用得着。
是的,。呵呵
Typecho的速度果然很快
是不错,自从用上它就很喜欢了,欢迎你也转过来,呵呵。
字的颜色的话,用color 是会有问题,你不如直接style
typecho注释了这东西,换style也不行。
改源码倒是能实现,但以后升级不方便了。加上用的时候比较少,就放弃了。
越来越强大了。。。。下次模版一定装上
呵呵,有这个回复时方便一点
比较喜欢,记录昵称网址,比较喜欢
呵呵,这个在http://www.binjoo.net/2010/11/typecho-author-info-show-hide
多逛逛,会有收获的。
不知道把这个编辑器放到后台怎么样,很小巧啊
后台,这个我不知道了啊,放前台都有人说没必要的。
好吧,试试mp3看看....
mp3
@Crazy
Someone Like You
宋佳《如果我离开》最终版mv
命大
lauyoume
是这套表情哦。
@lauyoume
直接,另存为吧,呵呵。