CKEditor Custom Plugins Button

前端 未结 7 761
猫巷女王i
猫巷女王i 2020-12-22 22:41

I\'ve written a custom plugin for CKEditor--successful on all fronts, save one currently: I can\'t, for the life of me, figure out how to customize the image on the button

7条回答
  •  生来不讨喜
    2020-12-22 23:24

    There is a pretty exhaustive tutorial on CKEditor Documentation Website, see: CKEditor Plugin SDK - Introduction

    At this moment it covers:

    • Creating an Editor Command
    • Creating the Toolbar Button with an icon
    • Explanation on how to register the plugin in CKEditor
    • Creating Plugin Dialog Window with Two tabs
    • Adding Context Menu
    • Advanced Content Filter (ACF) integration (on a separate page)

    If you are interested in creating your own widgets, check also Widgets SDK Tutorial

提交回复
热议问题