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

Can I stop the plugin adding 'cursor: move' ? #110

Open
adam-jones-net opened this issue Oct 6, 2021 · 1 comment
Open

Can I stop the plugin adding 'cursor: move' ? #110

adam-jones-net opened this issue Oct 6, 2021 · 1 comment

Comments

@adam-jones-net
Copy link

Table TR tags in my table have style="cursor: move;" in them. Is it possible to stop these being written into the DOM?

@brendon
Copy link
Collaborator

brendon commented Oct 6, 2021

Hi @Arkid, it's from this line:

}).css("cursor", "move"); // Store the tableDnD object

This would only be a problem if you were persisting this table elsewhere? Is that the case? If not, what's your use case for not wanting this style appended?

Your best bet in this scenario may be to open a Pull Request that makes this an optional feature (on by default) so that it can be disabled if necessary. I'd be happy to review this for you.

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