加载编辑器求解

#1 hametan

我用的编辑器是cuteeditor
$editor=new CuteEditor();     
        $editor->ID="addContent";   
        $editor->Draw();
        $this->editors = $editor;

$editor->Draw(); 这一行如何在页面输出,求解

2012-06-01 00:44:48

#2 jake

$editor->Draw();
$this->editors = $editor;

改成

$this->editors = $editor->Draw();

或者在模板中再使用draw吧。

2012-06-01 08:51:08

#3 hametan

已经搞定,用注册函数搞定了的。
spAddViewFunction("editors",array($editor,"Draw"));

HTML文件里  <{editors}>

2012-06-01 09:37:11