An editable pdf is typically downloaded, edited and uploaded. If the user has the correct pdf viewer, then can edit the pdf in the browser, but still will need to save and upload.
if you are trying to produce a pdf editor in the browser, then you need a JavaScript based pdf editor. Google “JavaScript pdf editor” and select the one that meets your needs. Most are commercial products.