The Compute Engine has been split from MathLive to reduce the package size and
improve the TTI (Time To Interactive) metric. The Compute Engine now needs to
be loaded separately:
import { ComputeEngine } from 'https://unpkg.com/@cortex-js/compute-engine@latest/dist/compute-engine.min.esm.js';
to create custom Compute Engine instances, which can then be associated with a
mathfield using mf.setOptions({computeEngine: ce}) or mf.computeEngine = ce.
If the Compute Engine library is not loaded, some functionality of the mathfield
will not be available: mf.expression will always return null and cannot be
used to change the content of the mathfield, and math-json is not available as
a format on the clipboard,
Bug Fixes
The vertical placement of the superscript after a \left...\right command was
incorrect.
Extensible arrows with superscript or subscript would not serialize the
superscript/subscript.
The fraction line and surd line would not be visible when printing with the
"Don't show image background" option in the print dialog.
The "placeholder-change" event was not dispatched.
Improvements
Tweaked the layout of the symbols virtual keyboard to make regular arrows the
default, rather than extensible arrows.
Fill-in-the-blank (placeholder) nested mathfields now line up with the
baseline. They also inherit the font-size of their parent container.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mathlive from 0.79.0 to 0.86.0.
Changelog
Sourced from mathlive's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)