Replies: 3 comments 2 replies
This comment has been hidden.
This comment has been hidden.
-
FYI, Molstar has already been ported to Quarto as a Quarto extension: Also, Observable.js is not JavaScript, in case there is a confusion. |
Beta Was this translation helpful? Give feedback.
-
I don't have much confidence in my answer here, but if codemirror doesn't support multiple parallel versions of the library running in the same JS environment, I think you simply won't be able to make this work without changes in codemirror itself. You could set a |
Beta Was this translation helpful? Give feedback.
-
Bug description
Background
The Error
Error: Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.
import
may not be happening in the OJS compilation step but later in the browser and I have some internal mismatch between multiple imported versions of@codemirror/state
require
and having the issue resolved in the compilation step (I tried a bunch of variations but couldn't get my imports to work properly.)I would greatly appreciate any suggestions or pointers on fixes.
Steps to reproduce
git clone https://github.com/zachcp/qsquint cd qsquint quarto preview
Actual behavior
I get a compilation issue as below but only when I am attempt to pass in one of the Clojure-mode extensions.
Expected behavior
I would like the JS to compile and initiate my components.
Your environment
Quarto check output
Beta Was this translation helpful? Give feedback.
All reactions