HTML in title string of fullcalendar jquery plugin

前端 未结 6 1923
离开以前
离开以前 2021-01-31 08:18

I think the fullcalendar jquery-plugin is a really great solution. However, I noticed the plugin escapes (htmlEscape) the title. But I need to format some strings in the title,

6条回答
  •  野的像风
    2021-01-31 08:40

    I have done like this, Check the link Link

    eventRender: function (event, element) {
        element.find('.fc-title').html(event.title);/*For Month,Day and Week Views*/
        element.find('.fc-list-item-title').html(event.title);/*For List view*/
    }
    

提交回复
热议问题