Has there been a change to the makeSagecell interface? It used to return a cellInfo object that could be used in a later call to deleteSagecell, but although it creates a cell as expected, the following code displays the returned value as "undefined", not "[object Object]":
<html>
<head>
<script src="
https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
<script>
const info = window.sagecell.makeSagecell({
inputLocation: "#mycell"
})
alert(info)
</script>
</head>
<body>
<div id="mycell"></div>
</body>
</html>
This behavior is seen in Chrome and Firefox browsers, on current Linux and Windows 10 systems, and confirmed in the debugger and console logs. It appears that the new cell is now created asynchronously to the makeSagecell call, and nothing is returned from the call. If this isn't a bug (or my cluelessness :-), how do you identify the cell to a subsequent deleteSagecell call? If it's a bug, is the normal procedure to raise an issue on github? And if it's my cluelessness, what am I missing?
Thanks in advance for your help. And thanks for sharing sagecell!
-- Ray