It depends on the online PDF editor you're using. Some online PDF editors have the capability of OCR (Optical Character Recognition) which will recognize the text on scanned pdfs and allow you to edit it.