diff --git a/packages/UI/docs/pdf_viewer.md b/packages/UI/docs/pdf_viewer.md index b0aa105a68..ddbc0f536b 100644 --- a/packages/UI/docs/pdf_viewer.md +++ b/packages/UI/docs/pdf_viewer.md @@ -28,7 +28,7 @@ To use the PDF Signer Web Component, follow these steps: 2. Navigate to the `repository/packages/UI` directory. -3. Chose wich provider you gonna use [see providers section](#using-providers-and-extensions) +3. Choose which provider you are going to use [see providers section](#using-providers-and-extensions) 4. Run `yarn build` to generate the required distribution files. diff --git a/packages/UI/docs/script_editor.md b/packages/UI/docs/script_editor.md index 1d7ce7e200..6b339cdf3b 100644 --- a/packages/UI/docs/script_editor.md +++ b/packages/UI/docs/script_editor.md @@ -27,7 +27,7 @@ To create an instance of the Script Editor, follow these steps: 2. Navigate to the `repository/packages/UI` directory. -3. Chose wich provider you gonna use [see providers section](#using-providers-and-extensions) +3. Choose which provider you are going to use [see providers section](#using-providers-and-extensions) 4. Run `yarn build` to generate the required distribution files. diff --git a/packages/UI/src/components/PDFSignerViewComponent.vue b/packages/UI/src/components/PDFSignerViewComponent.vue index f4c308d184..680791384b 100644 --- a/packages/UI/src/components/PDFSignerViewComponent.vue +++ b/packages/UI/src/components/PDFSignerViewComponent.vue @@ -111,7 +111,10 @@ export default { pdfData.value = data.toString(); numOfPages.value = pdf.numPages; } catch (error: any) { - showError({ isError: true, errorMessage: error.message }); + showError({ + isError: true, + errorMessage: "Please make sure that you have provided a PDF URL with CORS enabled.", + }); } finally { loadingPdf.value = false; }