TableDnD icon indicating copy to clipboard operation
TableDnD copied to clipboard

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

Open adam-jones-net opened this issue 4 years ago • 1 comments

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

adam-jones-net avatar Oct 06 '21 18:10 adam-jones-net

Hi @arkid, it's from this line:

https://github.com/isocra/TableDnD/blob/422db0b4c3bb8ba25dab467961c3823124a44d8a/js/jquery.tablednd.js#L174

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.

brendon avatar Oct 06 '21 21:10 brendon