HTML in title string of fullcalendar jquery plugin

前端 未结 6 1914
离开以前
离开以前 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:35

    Because the CSS class has changed, this is the correct answer:

    eventRender: function (event, element) {
        element.find('.fc-title').html(event.title);
    }
    

提交回复
热议问题