diff --git a/apps/docs/content/docs/developers/api/developer-mode.mdx b/apps/docs/content/docs/developers/api/developer-mode.mdx index f5bd2e871..92e3dbd48 100644 --- a/apps/docs/content/docs/developers/api/developer-mode.mdx +++ b/apps/docs/content/docs/developers/api/developer-mode.mdx @@ -1,17 +1,22 @@ --- title: Developer Mode -description: Advanced development tools for debugging field coordinates and integrating with the Documenso API. +description: Advanced development tools for debugging field IDs, recipient IDs, coordinates and integrating with the Documenso API. --- ## Overview Developer mode provides additional tools and features to help you integrate and debug Documenso. -## Field Coordinates +## Field Information -Field coordinates represent the position of a field in a document. They are returned in the `pageX`, `pageY`, `width` and `height` properties of the field. +When enabled, developer mode displays the following information for each field: -To enable field coordinates, add the `devmode=true` query parameter to the editor URL. +- **Field ID** - The unique identifier of the field +- **Recipient ID** - The ID of the recipient assigned to the field +- **Pos X / Pos Y** - The position of the field on the page +- **Width / Height** - The dimensions of the field + +To enable developer mode, add the `devmode=true` query parameter to the editor URL. ```bash # Legacy editor diff --git a/apps/docs/public/developer-mode/field-coordinates-legacy-editor.webp b/apps/docs/public/developer-mode/field-coordinates-legacy-editor.webp index 7cf99a3b9..7d03c1112 100644 Binary files a/apps/docs/public/developer-mode/field-coordinates-legacy-editor.webp and b/apps/docs/public/developer-mode/field-coordinates-legacy-editor.webp differ diff --git a/apps/docs/public/developer-mode/field-coordinates-new-editor.webp b/apps/docs/public/developer-mode/field-coordinates-new-editor.webp index ea6980da2..f37756b1e 100644 Binary files a/apps/docs/public/developer-mode/field-coordinates-new-editor.webp and b/apps/docs/public/developer-mode/field-coordinates-new-editor.webp differ diff --git a/apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx b/apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx index 366a34854..f0668d9e2 100644 --- a/apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx +++ b/apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx @@ -337,32 +337,42 @@ export const EnvelopeEditorFieldsPage = () => {
+
+
+
+