:::

6. XoopsModules\Tadtools\CkEditor 編輯器用法

use XoopsModules\Tadtools\CkEditor;

使用方法

$CkEditor = new CkEditor($xoopsDirName = '', $ColName = '', $Value = '', $subDir = '');
$editor = $CkEditor->render();

使用範例

$CkEditor = new CkEditor("tadnews", "news_content", $news_content, $uid);
$CkEditor->setHeight(350);
$editor = $CkEditor->render();

自定義設定檔

$CkEditor->setCustomConfigurationsPath($path = '');

自定義工具列($ToolbarSet 預設為 my,可選:myBasicmySimpletadSimple

$CkEditor->setToolbarSet($ToolbarSet = '');

自定義設寬度

$CkEditor->setWidth($Width = '');

自定義設高度

$CkEditor->setHeight($Height = '');

新增樣式檔(css檔完整路徑)

$CkEditor->setContentCss($ContentsCss = '');

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D15%26tbdsn%3D363

書籍目錄

展開 | 闔起

線上使用者

78人線上 (25人在瀏覽線上書籍)

會員: 0

訪客: 78

更多…