Skip to content

Commit 30b6402

Browse files
committed
docs: add screenshot properties
1 parent 92e0699 commit 30b6402

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

docs/customization/text.mdx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,24 @@ The table below lists all the available properties you can override:
3838
| `privacy-policy-text` | **Type**: `string`<br />**Default value**: `I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.`<br /><br />Privacy policy text. |
3939
| `rating-placeholder` | **Type**: `string`<br />**Default value**: `Was this page helpful?`<br />Heading for the feedback rating feature (thumbs).<br /><br />|
4040
| `rating-stars-placeholder` | **Type**: `string`<br />**Default value**: `How would you rate this page`<br />Heading for the feedback rating feature (stars).<br /><br />|
41-
| `screenshot-attached-text` | **Type**: `string`<br />**Default**: `Screenshot attached text`<br />Label for the screenshot button when a screenshot has been attached..<br /><br /> |
42-
| `screenshot-button-text` | **Type**: `string`<br />**Default value**: `Take a Screenshot`<br />Label for the screenshot button.<br /><br /> |
43-
| `screenshot-taking-text` | **Type**: `string`<br />**Default value**: `Taking screenshot ...`<br />Text displayed while taking a screenshot.<br /><br />|
44-
| `screenshot-topbar-text` | **Type**: `string`<br />**Default value**: `SELECT AN ELEMENT ON THE PAGE`<br />Instructional text when taking a screenshot.<br /><br />|
41+
| `screenshot-attached-text` | **Type**: `string`<br />**Default value**: `Screenshot attached`<br />Text displayed when a screenshot is attached to the feedback.<br /><br />|
42+
| `screenshot-button-text` | **Type**: `string`<br />**Default value**: `Add a screenshot`<br />Text for the button that opens the screenshot capture interface.<br /><br />|
43+
| `screenshot-taking-text` | **Type**: `string`<br />**Default value**: `Taking screenshot...`<br />Text displayed while capturing a screenshot.<br /><br />|
44+
| `screenshot-edit-text-button-text` | **Type**: `string`<br />**Default value**: `Edit text`<br />Text for the button that opens the text editing interface for screenshots.<br /><br />|
45+
| `screenshot-editor-title` | **Type**: `string`<br />**Default value**: `Edit screenshot`<br />Title of the screenshot editor modal.<br /><br />|
46+
| `screenshot-editor-cancel-text` | **Type**: `string`<br />**Default value**: `Cancel`<br />Text for the cancel button in the screenshot editor.<br /><br />|
47+
| `screenshot-editor-save-text` | **Type**: `string`<br />**Default value**: `Save`<br />Text for the save button in the screenshot editor.<br /><br />|
48+
| `screenshot-size-label-text` | **Type**: `string`<br />**Default value**: `Size:`<br />Label text for the screenshot size selector.<br /><br />|
49+
| `screenshot-border-label-text` | **Type**: `string`<br />**Default value**: `Border:`<br />Label text for the screenshot border options.<br /><br />|
50+
| `screenshot-edit-text-prompt-text` | **Type**: `string`<br />**Default value**: `Edit text:`<br />Prompt text for the screenshot text editing interface.<br /><br />|
51+
| `screenshot-error-general` | **Type**: `string`<br />**Default value**: `Failed to capture screenshot.`<br />General error message when screenshot capture fails.<br /><br />|
52+
| `screenshot-error-permission` | **Type**: `string`<br />**Default value**: `Permission denied. Please allow screen sharing to take screenshots.`<br />Error message when screen sharing permission is denied.<br /><br />|
53+
| `screenshot-error-not-supported` | **Type**: `string`<br />**Default value**: `Screen capture is not supported in this browser.`<br />Error message when the browser doesn't support screen capture.<br /><br />|
54+
| `screenshot-error-not-found` | **Type**: `string`<br />**Default value**: `No screen sources available for capture.`<br />Error message when no screen sources are available.<br /><br />|
55+
| `screenshot-error-cancelled` | **Type**: `string`<br />**Default value**: `Screenshot capture was cancelled.`<br />Error message when user cancels screenshot capture.<br /><br />|
56+
| `screenshot-error-browser-not-supported` | **Type**: `string`<br />**Default value**: `Your browser does not support screen capture. Please use a browser like Chrome, Firefox, or Safari on desktop.`<br />Error message for unsupported browsers.<br /><br />|
57+
| `screenshot-error-unexpected` | **Type**: `string`<br />**Default value**: `An unexpected error occurred. Please try again.`<br />Error message for unexpected errors during screenshot capture.<br /><br />|
4558
| `send-button-text` | **Type**: `string`<br />**Default value**: `Send`<br />Text for the button that submits feedback.<br /><br /> |
46-
| `canvas-editor-title` | **Type**: `string`<br />**Default value**: `Edit screenshot`<br />Title for the canvas editor modal.<br /><br />|
47-
| `canvas-editor-cancel-text` | **Type**: `string`<br />**Default value**: `Cancel`<br />Text for the cancel button in the canvas editor.<br /><br />|
48-
| `canvas-editor-save-text` | **Type**: `string`<br />**Default value**: `Save`<br />Text for the save button in the canvas editor.<br /><br />|
4959

5060
## Example
5161

0 commit comments

Comments
 (0)