New

docx-editor 1.x has shipped. Vue support, i18n, agents. Read the migration guide →

API Referencev1.0.2

@eigenpal/docx-editor-core/utils/reportIssue

Framework-agnostic helper to open a pre-filled GitHub "new issue" URL for the Help Report issue action. GitHub doesn't allow file attachments via URL params, so the body asks the user to drag-drop their DOCX onto the issue after it opens.

Lifted from packages/react/src/components/reportIssue.ts so the Vue adapter can re-use it without re-implementing.

Functions(2)

declare function buildReportIssueUrl(env?: ReportIssueEnv): string;
declare function openReportIssue(env?: ReportIssueEnv): void;

Interfaces(1)

Framework-agnostic helper to open a pre-filled GitHub "new issue" URL for the Help Report issue action. GitHub doesn't allow file attachments via URL params, so the body asks the user to drag-drop their DOCX onto the issue after it opens.

Lifted from packages/react/src/components/reportIssue.ts so the Vue adapter can re-use it without re-implementing.

interface ReportIssueEnv
MemberTypeSummary
pageUrl?string
userAgent?string
viewport?{ width: number; height: number; }