Tad Tools 使用說明
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,可選:myBasic、mySimple、tadSimple)
$CkEditor->setToolbarSet($ToolbarSet = '');自定義設寬度
$CkEditor->setWidth($Width = '');自定義設高度
$CkEditor->setHeight($Height = '');新增樣式檔(css檔完整路徑)
$CkEditor->setContentCss($ContentsCss = '');