refactoring of cmaps, widgets, etc.
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user