-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Upload PDF not working #14
Comments
Would changing the input variable to directly go into forms text_input.html and try to remove the need of external library be a helpful solution? I would like to try out this issue as someone trying to enter open source development. |
I have fixed that already in my recent PR #15, Thanks anyway |
If the issue is closed, close the issue.🤓 |
Hello @Raghucharan16 the issue has still not recieved any comments from the assigned mentors so this will be kept open till then , although a PR has already been made associated with this issue. |
Yeah @Roaster05 saw that. Thought I would give a try to that. |
Expected Output:
While uploading the
application/pdf
type of file its text content should have been rendered in the inputbox's contentHow to Reproduce:
application/pdf
type of file from your local systemReasons:
The popup is being displayed using the
text_input.html
file where the file is being uploaded using theinput
tag, this html file is using the scripttext_input.js
where the implementation of accessing the pdf's text content is done using an external librarypdfjsLib
which isn't imported any where in the extension's repository and hence it is not able to access the text content of the pdf being uploaded, also the Content-Security-Policy doesn't allow external scripts to be imported .Screencast.from.2024-03-12.16-00-10.webm
The text was updated successfully, but these errors were encountered: