Closed (fixed)
Project:
FullCalendar
Version:
4.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2026 at 06:01 UTC
Updated:
4 Jul 2026 at 06:50 UTC
Jump to comment: Most recent
Comments
Comment #4
mandclu commentedThe merged code changes reorganize the UI, with some additions:
If the Settings Tray module is enabled, that can be chosen as the preferred form display when adding a new event is triggered
In addition to double-clicking in the calendar, a site builder can also put a new fcAddEvent into the toolbar, which will create a translated "Add" button. Icon API support would be ideal, and will be deferred to a child task.
Two accompanying admin fields were added: "Add button text" (defaults to the translated string "Add" via Drupal.t()) and "Add button icon" (accepts CSS class(es) from any icon library loaded by the theme, e.g. fa-solid fa-plus). Leaving the text field blank while providing an icon produces an icon-only button.
FullCalendar v7 API corrections
During implementation, two breaking API changes in FullCalendar v7 were identified and fixed: customButtons was renamed to buttons, and the icon property was renamed from icon to iconClass. The form field description for the icon field was also corrected — FC v7 no longer ships an icon font, so iconClass sets a CSS className on a rather than referencing a built-in glyph.