Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eventContent on official doc not working #7342

Closed
1 task done
linonetwo opened this issue May 26, 2023 · 7 comments
Closed
1 task done

eventContent on official doc not working #7342

linonetwo opened this issue May 26, 2023 · 7 comments
Milestone

Comments

@linonetwo
Copy link

Reduced Test Case

https://codepen.io/linonetwo/pen/ExdMrWy?editors=001

Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?

  • I understand

Which connector are you using (React/Angular/etc)?

No connector (vanilla JS)

Bug Description

eventContent: function(arg, createElement) {
      var innerText

        innerText = 'urgent event'

      return createElement('i', {}, innerText)
    },

This works in 6.0.2 , but not work after upgrade to 6.1.8

Can't sure which version causes this, because when try to downgrade to 6.1.0 to bysect, it errors about @fullcalendar/premium-common@6.1.8 can't find preact.js or something.

截屏2023-05-26 14 13 38

linonetwo added a commit to tiddly-gittly/tiddlywiki-calendar that referenced this issue May 26, 2023
linonetwo added a commit to tiddly-gittly/tiddlywiki-calendar that referenced this issue May 26, 2023
@arshaw
Copy link
Member

arshaw commented May 26, 2023

Confimed. I'll fix this in the next minor release.

@arshaw arshaw added this to the next-release milestone May 26, 2023
@arshaw
Copy link
Member

arshaw commented May 26, 2023

Similar to #7276

@krishna-koushik
Copy link

any idea when this will be fixed?

@linonetwo
Copy link
Author

linonetwo commented Sep 8, 2023

I think bad global economy is influencing many open-source developer, no income means we need to do outsourced jobs instead of main open-source project.

@linonetwo
Copy link
Author

@krishna-koushik see tiddly-gittly/tiddlywiki-calendar@ee49df7 for workaround, also see https://github.com/tiddly-gittly/TidGi-Desktop for a local-first note app that use it.

@krishna-koushik
Copy link

Awesome @linonetwo thank you very much

@arshaw
Copy link
Member

arshaw commented Sep 21, 2023

Fixed in v6.1.9

Updated repro:
https://codepen.io/arshaw/pen/abPEMGG?editors=0010
(NOTE: you originally returned an array, which is not supported. I corrected this)

@arshaw arshaw closed this as completed Sep 21, 2023
@arshaw arshaw modified the milestones: next-release, v6.1.9 Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants