ckeditor--进入页面在控制台出现“TypeError: a is undefined”的错误

富文本CKEditor出现 a is undefined

图片描述

但是富文本还是能够正常显示的

代码:` <div style="width:500px;height:280">

          <form action="$!basePath/meet/richtextController/doAdd" method="post">
        <p>
            <label for="editor1">Editor 1:</label>
            <textarea cols="80" id="richtext" name="richtext" rows="10"></textarea>
        </p>
        <p>
            <input type="submit" value="Submit" />
        </p>
           </form>
</div>

<script type="text/javascript">

CKEDITOR.replace( 'richtext' );
initSample();

</script>`

所以,请教各位,请问如何才能把这个错误去掉。是什么原因导致的。

阅读 3.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题