How to add a custom button to the toolbar that calls a JavaScript function?

后端 未结 10 1940
[愿得一人]
[愿得一人] 2020-11-30 17:15

I\'d like to add a button to the toolbar that calls a JavaScript function like Tada()?

Any ideas on how to add this?

10条回答
  •  醉酒成梦
    2020-11-30 17:49

    This article may be useful too http://mito-team.com/article/2012/collapse-button-for-ckeditor-for-drupal

    There are code samples and step-by-step guide about building your own CKEditor plugin with custom button.

提交回复
热议问题