Here is an example of how to detect text overflow using the new JavaScript box tracking API.
The script runs after layout has finished and checks specified divs to see if any text boxes fall outside the parent box and logs their IDs.
The script runs after layout has finished and checks specified divs to see if any text boxes fall outside the parent box and logs their IDs.