Then in the start property bar, select the text tool options bar on the right.
In the column below the text, find the Delete option.
In the expansion bar on the right, you can delete settings such as empty segments, spaces and line breaks.
Click and select the settings required to delete the space, and then confirm.
After the deletion is confirmed, all spaces in the paragraph will be cleared.