歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 12:03:19 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  使用與操作  |  使用與操作精華區  |  編輯文章的HtmlArea工具列為何沒有字體顏色呢? « 上篇主題 下篇主題 »
頁: [1] 2
作者 主題: 編輯文章的HtmlArea工具列為何沒有字體顏色呢?  (閱讀 54746 次)
TomexOu
一般會員
***
文章: 117



檢視個人資料
« 於: 三月 26, 2005, 07:29:43 上午 »

如圖:


雖然我也喜歡精簡,但字體顏色也是很重要呀!
已記錄

我的LifeType測試環境:
Win2003 R2 Enterprise/IE7.0/XAMPP with Apache 2.2.6 + PHP 5.2.4 + MySQL 5.0.45 /LifeType 1.2.5/GD2.0/Grey Template
Dabu網誌
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 三月 26, 2005, 11:15:27 上午 »

Hi tomex_ou:

加上去就可以了!請參考這一篇:

http://www.lifetype.net/forums/viewtopic.php?t=1855&highlight=htmlarea

Mark
已記錄

TomexOu
一般會員
***
文章: 117



檢視個人資料
« 回覆文章 #2 於: 三月 26, 2005, 03:36:38 下午 »

我是在想為何官方預設不載入font color?!
已記錄

我的LifeType測試環境:
Win2003 R2 Enterprise/IE7.0/XAMPP with Apache 2.2.6 + PHP 5.2.4 + MySQL 5.0.45 /LifeType 1.2.5/GD2.0/Grey Template
Dabu網誌
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #3 於: 三月 28, 2005, 09:03:36 上午 »

各人喜好了!呵呵!目前的 toolbar 是 Oscar 的喜好,我得尊他的想法阿,畢竟他是Project Lead。 吐舌頭

Mark
已記錄

komakoma
新手見習
*
文章: 2


檢視個人資料
« 回覆文章 #4 於: 四月 15, 2005, 11:08:56 上午 »

不明白是怎改..

在htmlarea.js 還是 htmlarea-plog.js 內改..
改什麼 ?
已記錄
evenrain
初級會員
**
文章: 98



檢視個人資料
« 回覆文章 #5 於: 四月 15, 2005, 11:16:16 上午 »

引用自: komakoma
不明白是怎改..

在htmlarea.js 還是 htmlarea-plog.js 內改..
改什麼 ?


在 js/htmlarea/htmlarea-plog.js 改
然後在 postTextEditor.config.toolbar 及 postExtendedTextEditor.config.toolbar
加上你想要的功能..
譬如把原來的 postTextEditor.config.toolbar
程式碼:

    postTextEditor.config.toolbar = [
       [ "fontsize", "space","space",
         "bold", "italic", "underline", "strikethrough", "separator",
         "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
         "orderedlist", "unorderedlist", "separator",
         "createlink", "insertimage", "insertresource", "htmlmode" ]
    ];

改成
程式碼:

    postTextEditor.config.toolbar = [
       [ "fontsize","forecolor", "space","space",
         "bold", "italic", "underline", "strikethrough", "separator",
         "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
         "orderedlist", "unorderedlist", "separator",
         "createlink", "insertimage", "insertresource", "htmlmode" ]
    ];


就會有字體顏色了,postExtendedTextEditor.config.toolbar比照辦理
記得先備份 js/htmlarea/htmlarea-plog.js 檔
已記錄
Horse
訪客
« 回覆文章 #6 於: 四月 24, 2005, 01:45:35 下午 »

謝謝 evenrain
照著您的修改後,在發表文章延伸內文出現許多的按鈕,當然包括顏色
我的問題是:按鈕太多了,可不以可以只增加顏色就好了?
照字面的意思,增加"forecolor",沒有效果>_<
已記錄
btfans
新手見習
*
文章: 49


檢視個人資料
« 回覆文章 #7 於: 四月 24, 2005, 03:00:25 下午 »

FontColor is "forecolor",
BackgroundColor is "hilitecolor"
已記錄



Fedora Core 3/Apache 2.0.52/PHP 4.3.11/MySQL 3.23.58/pLog 1.0/GD2.0.28 enabled/flyupsky-daytime Template
Horse
訪客
« 回覆文章 #8 於: 四月 27, 2005, 09:26:58 下午 »

增加"forecolor",可以增加字體的顏色,謝謝大家 ^_^
已記錄
lroz
新手見習
*
文章: 15


檢視個人資料
« 回覆文章 #9 於: 十月 06, 2005, 09:05:58 下午 »

請教如果增加了許多的按鈕
但它都是一列的往外擴充
有什麼方式能將它變成兩列或三列
已記錄

fedora core 4
liftype1.02b
lroz
新手見習
*
文章: 15


檢視個人資料
« 回覆文章 #10 於: 十月 07, 2005, 10:10:06 下午 »

剛才發覺原來缺少了逗號才造成程式錯誤
已經可以變成多列了
已記錄

fedora core 4
liftype1.02b
ajer001
版主
超級會員
*****
文章: 516


張阿駕


檢視個人資料 個人網站
« 回覆文章 #11 於: 十月 07, 2005, 11:06:25 下午 »

Hi
這邊有我之前設定的一點紀錄
歡迎參考一下
http://ajer001.blog.twntwn.info/post/1/136
已記錄

|| FreeBSD + Apache 2.x + PHP 5.x + MySQL 5.x ||
-- ajer001 AT twntwn.info --
lroz
新手見習
*
文章: 15


檢視個人資料
« 回覆文章 #12 於: 十月 08, 2005, 12:50:44 上午 »

真是太感激你了
看了一些說明文件
也順便在字型上加入了標楷體及細明體的選項
操作介面真的越來越順手
已記錄

fedora core 4
liftype1.02b
monthday
新手見習
*
文章: 9


檢視個人資料
« 回覆文章 #13 於: 一月 25, 2006, 03:09:07 下午 »

postTextEditor.config.toolbar 及 postExtendedTextEditor.config.toolbar 在哪?
已記錄
hlps9999
版主
資深會員
*****
文章: 288



檢視個人資料 個人網站
« 回覆文章 #14 於: 一月 25, 2006, 03:23:36 下午 »

postTextEditor.config.toolbar ??postExtendedTextEditor.config.toolbar 在哪?

在 js/htmlarea/htmlarea-plog.js 裡面,上面的文章都有交代呀!

你可以仔細看看阿駕的這一篇文章 http://ajer001.blog.twntwn.info/post/1/136

已記錄
頁: [1] 2
LifeType 中文開發論壇  |  支援  |  使用與操作  |  使用與操作精華區  |  編輯文章的HtmlArea工具列為何沒有字體顏色呢? « 上篇主題 下篇主題 »
    前往: