Search first
What Happened?
When applying a template that contains a calc code block in an older graph, the code block's language is incorrectly identified as pascal or Clojure instead of calc, and calc not existed in language list. However, this issue does not occur in a newly created graph using the exact same template, where it correctly defaults to calc.
Reproduce the Bug
- In an existing/old graph, create or use a template that includes a code block:
calc ... .
- Apply this template to a new block.
- Observe that the code block language header shows pascal.
- Create a completely new graph and repeat the same steps; the code block correctly shows calc.
Expected Behavior
No response
Screenshots
No response
Files
No response
Browser, Desktop or Mobile Platform Information
macOS Logseq App nightly 1b9a199, Web 3ae4d92
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
Search first
What Happened?
When applying a template that contains a
calccode block in an older graph, the code block's language is incorrectly identified aspascalorClojureinstead ofcalc, andcalcnot existed in language list. However, this issue does not occur in a newly created graph using the exact same template, where it correctly defaults tocalc.Reproduce the Bug
calc ....Expected Behavior
No response
Screenshots
No response
Files
No response
Browser, Desktop or Mobile Platform Information
macOS Logseq App nightly
1b9a199, Web3ae4d92Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.