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

Ability to put HTML in resource.name #46

Open
nkostadinov opened this issue Dec 10, 2014 · 1 comment
Open

Ability to put HTML in resource.name #46

nkostadinov opened this issue Dec 10, 2014 · 1 comment

Comments

@nkostadinov
Copy link

Why is the resource.name escaped ? I think it would be a good idea to allow HTML content there or a callback rendering function.

@sancilardi
Copy link

I agree with you. The resource.name used to be able to handle html content but now just renders html code as text.

As a workaround, you can add this when creating the calendar instance:

            loading: function(isLoading) {
              if (!isLoading)
              {
                //make column headers html
                $(".fc-widget-header").each(function(i) {
                    $(this).html($.parseHTML($(this).text()));
                }); 
              }
            }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants