{ "issue": { "url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "repository_url": "https://api.github.com/repos/laurent22/joplin", "labels_url": "https://api.github.com/repos/laurent22/joplin/issues/14476/labels{/name}", "comments_url": "https://api.github.com/repos/laurent22/joplin/issues/14476/comments", "events_url": "https://api.github.com/repos/laurent22/joplin/issues/14476/events", "html_url": "https://github.com/laurent22/joplin/pull/14476", "id": 3993651112, "node_id": "PR_kwDOBLftOs7GcdO-", "number": 14476, "title": "Desktop: Fixes #11599: Enable Cut and Copy actions for images in Markdown editor", "user": { "login": "itisrohit", "id": 93656009, "node_id": "U_kgDOBZUTyQ", "avatar_url": "https://avatars.githubusercontent.com/u/93656009?v=4", "gravatar_id": "", "url": "https://api.github.com/users/itisrohit", "html_url": "https://github.com/itisrohit", "followers_url": "https://api.github.com/users/itisrohit/followers", "following_url": "https://api.github.com/users/itisrohit/following{/other_user}", "gists_url": "https://api.github.com/users/itisrohit/gists{/gist_id}", "starred_url": "https://api.github.com/users/itisrohit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itisrohit/subscriptions", "organizations_url": "https://api.github.com/users/itisrohit/orgs", "repos_url": "https://api.github.com/users/itisrohit/repos", "events_url": "https://api.github.com/users/itisrohit/events{/privacy}", "received_events_url": "https://api.github.com/users/itisrohit/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 5991245949, "node_id": "LA_kwDOBLftOs8AAAABZRsofQ", "url": "https://api.github.com/repos/laurent22/joplin/labels/markdown-editor", "name": "markdown-editor", "color": "91ca55", "default": false, "description": "About the Markdown editor" } ], "state": "closed", "locked": false, "assignees": [], "milestone": null, "comments": 5, "created_at": "2026-02-26T06:50:06Z", "updated_at": "2026-02-26T08:54:01Z", "closed_at": "2026-02-26T08:48:37Z", "assignee": null, "author_association": "CONTRIBUTOR", "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/laurent22/joplin/pulls/14476", "html_url": "https://github.com/laurent22/joplin/pull/14476", "diff_url": "https://github.com/laurent22/joplin/pull/14476.diff", "patch_url": "https://github.com/laurent22/joplin/pull/14476.patch", "merged_at": null }, "body": "**Description**\r\nEnable \"Cut\" and \"Copy\" actions for images in the Markdown editor's context menu.\r\n\r\n**Changes:**\r\n- Modified [contextMenu.ts](cci:7://file:///Users/RohitKumar/Desktop/joplin/packages/app-desktop/gui/NoteEditor/utils/contextMenu.ts:0:0-0:0) to remove the image-type restriction for Cut/Copy actions.\r\n- Updated the CodeMirror [useContextMenu](cci:1://file:///Users/RohitKumar/Desktop/joplin/packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/utils/useContextMenu.ts:117:0-386:2) hook to accurately calculate the Markdown markup range for images, allowing the \"Cut\" action to correctly remove the markup.\r\n- **Refinement:** Added logic to respect the editor's read-only state (disabling \"Cut\" but allowing \"Copy\" in read-only notes).\r\n- **Refinement:** Cleaned up TypeScript types and fixed linting issues identified by automated feedback.\r\n\r\n**Test Plan:**\r\n1. Insert an image into a Markdown note.\r\n2. Right-click the image in the editor.\r\n3. Verify \"Cut\" removes the `![]()` markup and copies the image to the clipboard.\r\n4. Verify \"Copy\" copies the image to the clipboard without removing markup.\r\n5. Verify \"Cut\" is disabled when the note is in a read-only state (e.g., viewing Note History).\r\n\r\nI have read the CLA Document and I hereby sign the CLA.\r\n", "closed_by": { "login": "laurent22", "id": 1285584, "node_id": "MDQ6VXNlcjEyODU1ODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laurent22", "html_url": "https://github.com/laurent22", "followers_url": "https://api.github.com/users/laurent22/followers", "following_url": "https://api.github.com/users/laurent22/following{/other_user}", "gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}", "starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/laurent22/subscriptions", "organizations_url": "https://api.github.com/users/laurent22/orgs", "repos_url": "https://api.github.com/users/laurent22/repos", "events_url": "https://api.github.com/users/laurent22/events{/privacy}", "received_events_url": "https://api.github.com/users/laurent22/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/14476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/laurent22/joplin/issues/14476/timeline", "performed_via_github_app": null, "state_reason": null }, "comments": [ { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964495420", "html_url": "https://github.com/laurent22/joplin/pull/14476#issuecomment-3964495420", "issue_url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "id": 3964495420, "node_id": "IC_kwDOBLftOs7sTWY8", "user": { "login": "github-actions[bot]", "id": 41898282, "node_id": "MDM6Qm90NDE4OTgyODI=", "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github-actions%5Bbot%5D", "html_url": "https://github.com/apps/github-actions", "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos", "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false }, "created_at": "2026-02-26T06:50:17Z", "updated_at": "2026-02-26T08:48:51Z", "body": "****CLA Assistant Lite bot**** All contributors have signed the CLA ✍️ ✅", "author_association": "CONTRIBUTOR", "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964495420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 15368, "client_id": "Iv1.05c79e9ad1f6bdfa", "slug": "github-actions", "node_id": "MDM6QXBwMTUzNjg=", "owner": { "login": "github", "id": 9919, "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github", "html_url": "https://github.com/github", "followers_url": "https://api.github.com/users/github/followers", "following_url": "https://api.github.com/users/github/following{/other_user}", "gists_url": "https://api.github.com/users/github/gists{/gist_id}", "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github/subscriptions", "organizations_url": "https://api.github.com/users/github/orgs", "repos_url": "https://api.github.com/users/github/repos", "events_url": "https://api.github.com/users/github/events{/privacy}", "received_events_url": "https://api.github.com/users/github/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false }, "name": "GitHub Actions", "description": "Automate your workflow from idea to production", "external_url": "https://help.github.com/en/actions", "html_url": "https://github.com/apps/github-actions", "created_at": "2018-07-30T09:30:17Z", "updated_at": "2026-05-05T14:51:38Z", "permissions": { "actions": "write", "administration": "read", "artifact_metadata": "write", "attestations": "write", "checks": "write", "code_quality": "write", "contents": "write", "copilot_requests": "write", "deployments": "write", "discussions": "write", "issues": "write", "merge_queues": "write", "metadata": "read", "models": "read", "packages": "write", "pages": "write", "pull_requests": "write", "repository_hooks": "write", "repository_projects": "write", "security_events": "write", "statuses": "write", "vulnerability_alerts": "read" }, "events": [ "branch_protection_rule", "check_run", "check_suite", "create", "delete", "deployment", "deployment_status", "discussion", "discussion_comment", "fork", "gollum", "issues", "issue_comment", "label", "merge_group", "milestone", "page_build", "public", "pull_request", "pull_request_review", "pull_request_review_comment", "push", "registry_package", "release", "repository", "repository_dispatch", "status", "watch", "workflow_dispatch", "workflow_run" ] } }, { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964496471", "html_url": "https://github.com/laurent22/joplin/pull/14476#issuecomment-3964496471", "issue_url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "id": 3964496471, "node_id": "IC_kwDOBLftOs7sTWpX", "user": { "login": "coderabbitai[bot]", "id": 136622811, "node_id": "BOT_kgDOCCSy2w", "avatar_url": "https://avatars.githubusercontent.com/in/347564?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coderabbitai%5Bbot%5D", "html_url": "https://github.com/apps/coderabbitai", "followers_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/followers", "following_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/repos", "events_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/coderabbitai%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false }, "created_at": "2026-02-26T06:50:36Z", "updated_at": "2026-02-26T07:19:22Z", "body": "\nNo actionable comments were generated in the recent review. 🎉\n\n
\nℹ️ Recent review info\n\n**Configuration used**: Path: .coderabbit.yaml\n\n**Review profile**: CHILL\n\n**Plan**: Pro\n\n
\n📥 Commits\n\nReviewing files that changed from the base of the PR and between 8d53f585c0f8287287e6588d1cd93b122a505986 and dbe77c444409df7b6ce79260e9062ab87cb09335.\n\n
\n\n
\n📒 Files selected for processing (3)\n\n* `packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/utils/useContextMenu.ts`\n* `packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/v5/CodeMirror.tsx`\n* `packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/v6/CodeMirror.tsx`\n\n
\n\n
\n\n---\n\n\n\n\n
\n📝 Walkthrough\n\n## Walkthrough\n\nThe PR augments resource markup detection and context-menu flows to include exact matched markup text and absolute position ranges. getResourceIdFromMarkup now accepts a line start position and returned ResourceMarkupInfo includes `markup`, `from`, and `to`; this info is propagated to context-menu handlers and actions.\n\n## Changes\n\n|Cohort / File(s)|Summary|\n|---|---|\n|**Tests**
`packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/utils/useContextMenu.test.ts`|Updated tests to pass `lineStartPos` (0) to `getResourceIdFromMarkup` and assert added fields `markup`, `from`, `to` in results.|\n|**Resource detection & context-menu**
`packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/utils/useContextMenu.ts`|Added `markup`, `from`, `to` to `ResourceMarkupInfo`; changed `getResourceIdFromMarkup` signature to `(lineContent, cursorPosInLine, lineStartPos)`; added `getMarkupAt`; updated click handlers and context-menu propagation to include markup and absolute ranges; adjusted `showResourceContextMenu` and insertion/copy operations to use markup/from/to; added `inheritedReadOnly` to ContextMenuProps.|\n|**Context menu predicates**
`packages/app-desktop/gui/NoteEditor/utils/contextMenu.ts`|Simplified `isActive` callbacks for cut/copy to ignore `itemType` (renamed `_itemType`) and rely on presence of `textToCopy`/`htmlToCopy` and read-only state.|\n|**Editor integration (v5/v6)**
`packages/app-desktop/gui/NoteEditor/NoteBody/CodeMirror/v5/CodeMirror.tsx`, `.../v6/CodeMirror.tsx`|Propagated `inheritedReadOnly: props.disabled` to useContextMenu and typed `editorRef` as `RefObject` in v5; minor type/formatting tweaks in v6.|\n\n## Sequence Diagram(s)\n\n```mermaid\nsequenceDiagram\n participant Editor\n participant useContextMenu\n participant ContextMenu\n participant getResourceIdFromMarkup\n\n Editor->>useContextMenu: click at cursorPos (global)\n useContextMenu->>getResourceIdFromMarkup: getResourceIdFromMarkup(lineContent, cursorPosInLine, lineStartPos)\n getResourceIdFromMarkup-->>useContextMenu: ResourceMarkupInfo {resourceId,type,markup,from,to}\n useContextMenu->>ContextMenu: showResourceContextMenu(resourceInfo, markup, from, to, inheritedReadOnly)\n ContextMenu-->>useContextMenu: user action (copy / open / insert)\n useContextMenu->>Editor: perform action (copy markup / insert via from-to / open)\n```\n\n## Possibly related PRs\n\n- laurent22/joplin#14402: Modifies the same `getResourceIdFromMarkup` signature and resource-markup/context-menu flow in `useContextMenu.ts`.\n- laurent22/joplin#14209: Earlier changes to CodeMirror context-menu resource extraction and propagation that this PR further extends.\n\n## Suggested labels\n\n`markdown-editor`\n\n
\n\n\n\n\n\n\n
\n🚥 Pre-merge checks | ✅ 2 | ❌ 1\n\n### ❌ Failed checks (1 warning)\n\n| Check name | Status | Explanation | Resolution |\n| :----------------: | :--------- | :------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------- |\n| Docstring Coverage | ⚠️ Warning | Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. | Write docstrings for the functions missing them to satisfy the coverage threshold. |\n\n
\n✅ Passed checks (2 passed)\n\n| Check name | Status | Explanation |\n| :---------------: | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| Title check | ✅ Passed | The title clearly and specifically describes the main change: enabling Cut and Copy actions for images in the Markdown editor, directly addressing the referenced issue. |\n| Description check | ✅ Passed | The description is well-related to the changeset, providing clear context about enabling Cut and Copy for images, listing specific files modified, and including a comprehensive test plan. |\n\n
\n\n✏️ Tip: You can configure your own custom pre-merge checks in the settings.\n\n
\n\n\n\n\n\n
\n✨ Finishing Touches\n\n
\n🧪 Generate unit tests (beta)\n\n- [ ] Create PR with unit tests\n- [ ] Post copyable unit tests in a comment\n\n
\n\n
\n\n\n\n\n\n---\n\nThanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=laurent22/joplin&utm_content=14476)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.\n\n
\n❤️ Share\n\n- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)\n- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)\n- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)\n- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)\n\n
\n\nComment `@coderabbitai help` to get the list of available commands and usage tips.\n\n\n\n\n\n\n\n\n", "author_association": "CONTRIBUTOR", "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964496471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 347564, "client_id": "Iv1.6aaafe4fe882736b", "slug": "coderabbitai", "node_id": "A_kwHOB96YWc4ABU2s", "owner": { "login": "coderabbitai", "id": 132028505, "node_id": "O_kgDOB96YWQ", "avatar_url": "https://avatars.githubusercontent.com/u/132028505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/coderabbitai", "html_url": "https://github.com/coderabbitai", "followers_url": "https://api.github.com/users/coderabbitai/followers", "following_url": "https://api.github.com/users/coderabbitai/following{/other_user}", "gists_url": "https://api.github.com/users/coderabbitai/gists{/gist_id}", "starred_url": "https://api.github.com/users/coderabbitai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/coderabbitai/subscriptions", "organizations_url": "https://api.github.com/users/coderabbitai/orgs", "repos_url": "https://api.github.com/users/coderabbitai/repos", "events_url": "https://api.github.com/users/coderabbitai/events{/privacy}", "received_events_url": "https://api.github.com/users/coderabbitai/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false }, "name": "coderabbitai", "description": "# Transforming Code Reviews with AI\r\n\r\n## Features\r\n\r\n**Automated Reviews**: Continuous reviews of the pull requests including incremental commits. \r\n\r\n**Summarization**: Generates high-level summary and a technical walkthrough of the PR changes. \r\n\r\n**Line-by-line review**: Provides line-by-line suggestions committable with one click.\r\n\r\n**Codebase verification**: Verifies the impact on the overall codebase and identifies missing changes.\r\n\r\n**Insights into your code**: Ask any questions on your codebase within the pull request \r\n\r\n**Chat about your code** : Chat with the bot around your code. The more you chat, the smarter it gets.\r\n\r\n**Issue Validation**: Validates the PR against the linked issues and identifies other related issues \r\n\r\n\r\n\r\n", "external_url": "https://coderabbit.ai?utm_source=cr_app&utm_medium=github", "html_url": "https://github.com/apps/coderabbitai", "created_at": "2023-06-14T15:47:27Z", "updated_at": "2026-03-14T07:58:44Z", "permissions": { "actions": "read", "checks": "write", "contents": "write", "discussions": "read", "issues": "write", "members": "read", "metadata": "read", "pull_requests": "write", "statuses": "write" }, "events": [ "issues", "issue_comment", "label", "organization", "pull_request", "pull_request_review", "pull_request_review_comment", "pull_request_review_thread", "release", "repository" ] } }, { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964525069", "html_url": "https://github.com/laurent22/joplin/pull/14476#issuecomment-3964525069", "issue_url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "id": 3964525069, "node_id": "IC_kwDOBLftOs7sTdoN", "user": { "login": "itisrohit", "id": 93656009, "node_id": "U_kgDOBZUTyQ", "avatar_url": "https://avatars.githubusercontent.com/u/93656009?v=4", "gravatar_id": "", "url": "https://api.github.com/users/itisrohit", "html_url": "https://github.com/itisrohit", "followers_url": "https://api.github.com/users/itisrohit/followers", "following_url": "https://api.github.com/users/itisrohit/following{/other_user}", "gists_url": "https://api.github.com/users/itisrohit/gists{/gist_id}", "starred_url": "https://api.github.com/users/itisrohit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itisrohit/subscriptions", "organizations_url": "https://api.github.com/users/itisrohit/orgs", "repos_url": "https://api.github.com/users/itisrohit/repos", "events_url": "https://api.github.com/users/itisrohit/events{/privacy}", "received_events_url": "https://api.github.com/users/itisrohit/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "created_at": "2026-02-26T06:58:50Z", "updated_at": "2026-02-26T06:58:50Z", "body": "I have read the CLA Document and I hereby sign the CLA", "author_association": "CONTRIBUTOR", "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3964525069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": null }, { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3965060497", "html_url": "https://github.com/laurent22/joplin/pull/14476#issuecomment-3965060497", "issue_url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "id": 3965060497, "node_id": "IC_kwDOBLftOs7sVgWR", "user": { "login": "laurent22", "id": 1285584, "node_id": "MDQ6VXNlcjEyODU1ODQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laurent22", "html_url": "https://github.com/laurent22", "followers_url": "https://api.github.com/users/laurent22/followers", "following_url": "https://api.github.com/users/laurent22/following{/other_user}", "gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}", "starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/laurent22/subscriptions", "organizations_url": "https://api.github.com/users/laurent22/orgs", "repos_url": "https://api.github.com/users/laurent22/repos", "events_url": "https://api.github.com/users/laurent22/events{/privacy}", "received_events_url": "https://api.github.com/users/laurent22/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "created_at": "2026-02-26T08:48:37Z", "updated_at": "2026-02-26T08:48:37Z", "body": "The only issue you linked to in a commit is #11599 but it's unrelated, and I don't think anyone asked for a Cut action. Copy is already implemented so I don't know what this is about", "author_association": "OWNER", "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3965060497/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": null }, { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3965086102", "html_url": "https://github.com/laurent22/joplin/pull/14476#issuecomment-3965086102", "issue_url": "https://api.github.com/repos/laurent22/joplin/issues/14476", "id": 3965086102, "node_id": "IC_kwDOBLftOs7sVmmW", "user": { "login": "itisrohit", "id": 93656009, "node_id": "U_kgDOBZUTyQ", "avatar_url": "https://avatars.githubusercontent.com/u/93656009?v=4", "gravatar_id": "", "url": "https://api.github.com/users/itisrohit", "html_url": "https://github.com/itisrohit", "followers_url": "https://api.github.com/users/itisrohit/followers", "following_url": "https://api.github.com/users/itisrohit/following{/other_user}", "gists_url": "https://api.github.com/users/itisrohit/gists{/gist_id}", "starred_url": "https://api.github.com/users/itisrohit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itisrohit/subscriptions", "organizations_url": "https://api.github.com/users/itisrohit/orgs", "repos_url": "https://api.github.com/users/itisrohit/repos", "events_url": "https://api.github.com/users/itisrohit/events{/privacy}", "received_events_url": "https://api.github.com/users/itisrohit/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "created_at": "2026-02-26T08:53:24Z", "updated_at": "2026-02-26T08:54:01Z", "body": "Hi Laurent, my apologies for the confusion!\r\n\r\nIssue Reference: The reference to #11599 was a mistake in my commit message (likely a typo for a different issue I was researching). I'm sorry for the noise there.\r\nCopy Markdown: While 'Copy Image' handles the binary data, I noticed there was no way to copy the actual Markdown link (![alt](:/id)) directly from the context menu in the editor. I thought this would be useful for moving images around within notes.\r\nCut Action: I understand if 'Cut' isn't a priority for images.\r\nSince you've already implemented the image context menu recently, I'll close this if you feel these additions are redundant. Thank you for the feedback!", "author_association": "CONTRIBUTOR", "reactions": { "url": "https://api.github.com/repos/laurent22/joplin/issues/comments/3965086102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": null } ] }