It's not a big deal but you would expect that that it would return the new text, especially if you want to save it in a variable. And for 90% of people, that first parameter of the callback is going to stay greyed out. No one is going to have custom error handling in case the text can't look nice. Just throw an error and have an optional parameter to not throw an error and return the inputted text. Again, it's not a big deal, but imagine if everyone did it like this.
It's not a big deal but you would expect that that it would return the new text, especially if you want to save it in a variable. And for 90% of people, that first parameter of the callback is going to stay greyed out. No one is going to have custom error handling in case the text can't look nice. Just throw an error and have an optional parameter to not throw an error and return the inputted text. Again, it's not a big deal, but imagine if everyone did it like this.