refactoring of cmaps, widgets, etc.

This commit is contained in:
2026-09-02 16:06:26 +02:00
parent 38f255c1a4
commit f0562a06cc
52 changed files with 3626 additions and 2642 deletions
+2 -2
View File
@@ -66,11 +66,11 @@ test("the last selected concept determines target size and alignment", async ()
"external links are serialized as shared concept content"
);
const reloaded = factory.createEditor(canvas, { Cmap: () => map });
reloaded.loadDocument(savedDocument);
reloaded.loadModel(editor.currentModel());
assert.equal(
reloaded.toDocument().concepts.find((concept) => concept.id === first.conceptId).externalUrl,
"https://example.com/first",
"external links survive an editor save and reload round-trip"
"external links survive an editor model round-trip"
);
editor.selectItem(first);
editor.selectItem(third, { additive: true });