Apply dynamic formatting to selected cell

I have just tried Ubuntu on virtual machine and Mac High Sierra. It looks the same like the Windows version from my GIF.

However, maybe I did not understood the case. If you type one long string (without spaces) it won’t cut in half and get transferred to another line. Can you confirm that you are testing a content with spaces?