Hide empty toolbar in generated text module. If there are no controls to show, avoid rendering the fixed-height toolbar div.
Hide empty toolbar in generated text module.
If there are no controls to show, avoid rendering the fixed-height toolbar
div.

PiperOrigin-RevId: 404592859

pair-code/lit,PAIR-code/lit,PAIR-code/lit,pair-code/lit,pair-code/lit,PAIR-code/lit,PAIR-code/lit,pair-code/lit,pair-code/lit,PAIR-code/lit