'Change Wordpress Additional CSS Classes from Input to Textarea

I am developing a theme that is using gutenberg and makes use of the Additional CSS Classes input under advanced. Sometimes the user may need to add many classes if for example making responsive adjustments. How can I change this input from an input to a textarea so the user will be able to expand the input if there are more than just a couple classes added?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source