Generally it's a nightmare to monkey patch the source of third-party libraries.
It makes future updates difficult.
In our case, we could simply make it work by adding the word counter, and using css to hide it. It's stupid, but it actually makes things simpler in the long run...
I had thought about this solution,but adding something and hiding it looks like unnecessary.however,you are right,I should never modify third-party libraries.
Generally it's a nightmare to monkey patch the source of third-party libraries.
It makes future updates difficult.
In our case, we could simply make it work by adding the word counter, and using css to hide it. It's stupid, but it actually makes things simpler in the long run...