hc1515014471 2016-06-13 01:07 采纳率: 0%
浏览 954

FCKEditor与Extjs4整合获取FCKEditor取值与赋值问题

通过FCKeditorAPI.GetInstance("news-content").SetHTML(result.content);赋值,报如下错误Cannot read property 'SetHTML' of undefined。通过FCKeditorAPI.GetInstance("news-content").GetXHTML()取值,报如下错误Cannot read property 'GetXHTML' of undefined.
应该如何为FCKEditor取值与赋值?求指教。

  • 写回答

1条回答 默认 最新

  • 斯洛文尼亚旅游 2016-06-13 01:45
    关注

    你怎么整合的。。要给fckeditor的ext容器添加render事件,然后再初始化fckeditor编辑器,并且注册fckeditor加载完毕事件FCKeditor_OnComplete,在这个事件里面调用fck的api

    fckeditor加载完毕事件FCKeditor_OnComplete

    评论

报告相同问题?