How do I CSS-style only TaskNotes task blocks on the calendar, not Google Calendar events? #1865
Unanswered
danielbelum
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using the TaskNotes plugin with Google Calendar OAuth sync. Both task events and Google Calendar events appear on the calendar view, which is great — but I want to change the background color of only my TaskNotes task blocks, leaving the Google Calendar events untouched.
I've tried:
.fc-event— affects everything.fc-timegrid-event.fc-v-event— affects everything.fc-task-event— does nothing.fc-timegrid-event.fc-v-event:not([data-ics-event="true"])— still affects Google Calendar eventsRunning
document.querySelector('.fc-event')?.classNamein the console returns:fc-event fc-event-draggable fc-event-resizable fc-event-start fc-event-end fc-event-past fc-event-today fc-timegrid-event fc-v-eventNo unique class seems to differentiate task events from Google Calendar events.
What CSS selector can I use to target only TaskNotes task blocks?
Beta Was this translation helpful? Give feedback.
All reactions