We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a287e commit 49c2eaeCopy full SHA for 49c2eae
src/engine/CaptureChoiceEngine.ts
@@ -156,6 +156,17 @@ export class CaptureChoiceEngine extends QuickAddChoiceEngine {
156
return;
157
}
158
159
+ if (
160
+ canvasTarget?.kind === "file" &&
161
+ action === "insertAfter" &&
162
+ this.choice.insertAfter?.createIfNotFound &&
163
+ this.choice.insertAfter?.createIfNotFoundLocation === "cursor"
164
+ ) {
165
+ throw new ChoiceAbortError(
166
+ "Canvas file cards do not support creating missing insert-after targets at cursor. Use top or bottom.",
167
+ );
168
+ }
169
+
170
const filePath =
171
canvasTarget?.kind === "file"
172
? canvasTarget.targetFile.path
0 commit comments