This code counts the number of words in an excerpt and adds it to the excerpt meta box in the post edit screen: http://snippi.com/s/sn3hk5p
However, something about this code is preventing the editing of permalinks in the post edit screen and I am unable to identify the problem. Any ideas?
I put the script in a external file
And modified the script a bit
Finally change the hook for loading the script
No problems at all.
Just to clearify: with ‘permalinks’, did you mean the permlink of the post (the line between title input and content input) ?