In CKEditor, how can I add a “text” label to a button?

前端 未结 4 1034
旧巷少年郎
旧巷少年郎 2021-02-05 15:19
editor.ui.addButton( \'ImageUpload\',{
                label: \'Upload Image\',
                command: \'popup_image_uploader\',
                icon: this.path + \'im         


        
4条回答
  •  清酒与你
    2021-02-05 16:02

    .cke_button_label.cke_button__CMDNAMEHERE{
       display: inline;
    }
    

    will work for all skins, unlike the answer above(note the double underscore between buttons and CMDNAMEHERE)

    you can place it anywhere in your own css

提交回复
热议问题