feat: add new copy rubric button

This commit is contained in:
2026-06-05 09:31:42 +09:30
parent b4a59330c5
commit dd0830d349
2 changed files with 390 additions and 0 deletions
@@ -16,6 +16,7 @@ import {
parseAssessments,
processAssessments,
} from "./utils.ts";
import { injectRubricCopyButtons } from "./rubricCopy.ts";
interface weightingsStorage {
weightings: Record<string, string>;
@@ -80,6 +81,7 @@ const assessmentsAveragePlugin: Plugin<typeof settings, weightingsStorage> = {
});
api.seqta.onMount("[class*='SelectedAssessment__']", () => {
injectWeightingsTab(api);
injectRubricCopyButtons();
});
},
};