| Issue 2311: | eventRender custom element without fc-event class should render correctly | |
| 1 person starred this issue and may be notified of changes. | Back to list |
eventRender callback documentation has a notice (but doesn't give any example) that you can create you custom event mark up from scratch and return the resulting object. I've tried to do that in week mode and a couple of bugs:
1. Your custom html markup's root node has to have fc-event class. It would be okay to have such a requirement for some conent-less class, but fc-event applies some unrequired styling
2. fc-event-container sets margins to non-zero values. In my opinion fc-event-conainer should not decide how much space in a cell my event will take. So I had to specify the following style to fix it:
<style type="text/css">
.fc-event-container {
margin: 0 !important;
}
</style>
Aug 21, 2015
Discussion for this issue has moved to the following URL: https://github.com/fullcalendar/fullcalendar/issues/2576 This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event. Happy coding, Adam
Status:
ExportedToGithub
|
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Bug