This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
Releases: MyScript/myscript-math-web
Releases · MyScript/myscript-math-web
v5.1.0
Features
- Addition of a new Recognition Assets Builder API to dynamically build text lexicons and math grammars
- Ability to import JJIX Math content
- Style and decoration support in the JIIX exports
- New configuration options for a finer tuning of JIIX exports
- Always connected is now the default mode for better end user experience
Others
- Udpdate Import jiix with math example
v5.0.0
Features
myscript-math-web
now supports all the features introduced by the version 4.2.0 of MyScriptJS.
Breaking changes
- We are now using Polymer 3. For more details, please refer to the Polymer documentation.
v4.1.2
Bug fixed
- Latex rendering with Katex was broken due to a change in the latex export
v4.1.1
This update contains the new dependency to myscript-common-element
that includes the new update of MyScriptJS.
Bug fixed
- Documentation and paper buttons colors were not taken into account in Edge.
v4.1.0 (part of iink 1.1) Custom ressources and better font management
Features
- Custom resources / grammar support, upload your custom grammar to modify the recognition behaviour (see the example).
- New
penStyleClasses
property. Used to change the theme using classes passed using thetheme
property (see the example). - No more css background if api is set to
V4
. - No more STIX font import needed as the font is now rendered by the server.
- New
usepointerlisteners
property used to force the pointer events use.
Breaking changes
In order to be consistent with the native API :
importContent()
andexportContent()
respectively renamed toimport_()
andexport_()
.importInk(strokes)
changed topointerEvents(events)
.
Bug fixed
- Math exports rendering for breaking line was printing \\ and not breaking line.
v4.0.1
Bug fixed
- Editor on iOS wasn't working properly due to touch-action: none in CSS not supported in Safari.
v4.0.0
Features
- New events to be notified of editor changes.
- New
unloaded
flag to control component state.load
event will be trigger once the editor will be fully loaded. - New not mutable
configuration
attribute. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost. To do it, setunloaded=true
after changing configuration, and wait for aload
event. - New read-only
editor
property that allow you to access to the underlying editor object (see MyScriptJS documentation for more details). - New CSS variables to customize the web-component. See customize_style.html as an example.
Breaking changes
- Complete rewrite of the underlying javascript library with ES6 syntax
- Internal design improved to allow extensibility and support of upcoming recognition types. Documentation and illustrating samples to come in next release.
- Removal of all deprecated attributes and methods
- All events has been renamed. See the documentation to discover new behavior.
resulttypes
,language
,typeset
,textparameters
,mathparameters
,shapeparameters
,musicparameters
,analyzerparameters
are replaced by the uniqueconfiguration
attribute (see MyScriptJS documentation for a complete spec).- Renamed
timeout
attribute torecognitiontriggerdelay
- Renamed
delete()
property toclear()
- Changed
ssl
attribute to ascheme
attribute (i.e.ssl=true
will be replaced byscheme=https
) getAvailableLanguages()
have been replaced by a new web-component. You can use it to retrieve the list of available languages for your configuration.
Bugs fixed
- User can no longer write when an unrecoverable error is detected forcing him to reload the page. See handle_error.html to see how it works.
For more details about attributes, look at the documentation.
Limits
myscript-math-web
does not support pure shadow DOM. Still some issues to use underlying css.
v1.2.3
v1.2.2
Features
- New
strokecolor
attribute to setup/change stroke color settings - New
strokewidth
attribute to setup/change stroke width settings
Bugs
- See MyScriptJS v1.2.2 for fixes
v1.2.1
Bugs
- See MyScriptJS v1.2.1 for fixes