->

像這樣子增加html tag除了使用quick tag 外掛之外,可以用手動的方法…
在 /wp-include/js/quicktags.js 中
找到
- edButtons[edButtons.length] =
- new edButton('ed_strong'
- ,'b'
- ,'<strong>'
- ,'</strong>'
- ,'b'
- );
在他的下面或上面增加自己想要增加的html quick tag即可…
他的定義方式檔案裡面也有寫到
- function edButton(id, display, tagStart, tagEnd, access, open) {
- this.id = id; // used to name the toolbar button
- this.display = display; // label on button
- this.tagStart = tagStart; // open tag
- this.tagEnd = tagEnd; // close tag
- this.access = access; // access key
- this.open = open; // set to -1 if tag does not need to be closed
- }
我今天其實只是想要增加 coolcode 的 tag… 所以我這麼做…
- edButtons[edButtons.length] =
- new edButton('ed_coolcode'
- ,'coolcode'
- ,'<coolcode>'
- ,'</coolcode>'
- ,'coolcode'
- );
好文~
我髮上加入了版主回附的按鍵
BB先生(Quote)
@BB先生:
ajneok(Quote)
恭喜XD~ 謝謝~
希望常來
sorry, 忘了不能直接PO,我轉一下
edButtons[edButtons.length] =
new edButton(‘ed_owner_response’
,’owner_re’
,’<blockquote><b><font color="blue">版主回應:</font></b>’
,’</blockquote>’
,’owner_re’
); BB先生(Quote)
沒關係我上面有幫你轉好了
ajneok(Quote)
Hello webmaster
I would like to share with you a link to your site
write me here preonrelt@mail.ru Alexwebmaster(Quote)
我想請問一下
我部落格裡用的版主回應也是跟樓上的BB先生一樣
我使用blockquote時都會變成斜體字
不過我不想要斜體字..請問一下我該怎麼修改?
是改css嗎? satimsa(Quote)
@satimsa:
抱歉回太慢^^"~最近太忙了ˊˋ~
恩恩~是改CSS~你要改這邊的↓
li.comment blockquote ajneok(Quote)