This repository was archived by the owner on Jan 4, 2021. It is now read-only.
Releases: MyScript/myscript-text-web
Releases · MyScript/myscript-text-web
v5.1.0
Features
- Addition of a new Recognition Assets Builder API to dynamically build text lexicons and math grammars
- 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
v5.0.0
Features
myscript-text-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.1
This update contains the new dependency to myscript-common-element that includes the new update of MyScriptJS.
Bugs fixed
- Documentation and paper buttons colors were not taken into account in Edge.
Breaking changes
In order to be consistent with the native API :
disableguidelinesrenamed todisableguidesin the configuration.
v4.1.0 (part of iink 1.1) Smart guide, font support, custom ressources, better style management and more
Features
- Modifications to include smart guide from MyScriptJS
- New
disablesmartguideproperty to disable smart guide. - New
disablesmartguidefadeoutandsmartguidefadeoutdurationto disable smart guide fadeout or modify the duration.
- New
- New
usepointerlistenersproperty used to force the pointer events use. - New guides for text using a svg DOM element behind the model layer and
disableguidelinesto disable the guides. - No more css background if api is set to
V4. - Google fonts supports (see the example).
- Custom resources support, upload your custom resources to modify the recognition behaviour (see the example).
- New
penStyleClassesproperty. Used to change the theme using classes passed using thethemeproperty (see the example).
Breaking changes
importContent()andexportContent()respectively renamed toimport_()andexport_().importInk(strokes)changed topointerEvents(events).
v4.0.1
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
unloadedflag to control component state.loadevent will be trigger once the editor will be fully loaded. - New not mutable
configurationattribute. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost. To do it, setunloaded=trueafter changing configuration, and wait for aloadevent. - New read-only
editorproperty 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,analyzerparametersare replaced by the uniqueconfigurationattribute (see MyScriptJS documentation for a complete spec).- Renamed
timeoutattribute torecognitiontriggerdelay - Renamed
delete()property toclear() - Changed
sslattribute to aschemeattribute (i.e.ssl=truewill 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-text-webdoes not support pure shadow DOM. Still some issues to use underlying css.
v1.2.3
v1.2.2
Features
- New
strokecolorattribute to setup/change stroke color settings - New
strokewidthattribute to setup/change stroke width settings
Bugs
- See MyScriptJS v1.2.2 for fixes
v1.2.1
Bugs
- Improve documentation of superimposed options
- See MyScriptJS v1.2.1 for fixes
v1.2.0
Features
- Mutable
hostattribute - Mutable
protocolattribute - New
resultdetailattribute - New
inputmodeattribute to change mode from CURSIVE or SUPERIMPOSED to another - New
recognitioncandidatesattribute to set desired candidates count - New
predictioncandidatesattribute to set desired predicted candidates count - New
completioncandidatesattribute to set desired completed candidates count - New
availablelanguagesoutput attribute to get authorized language list - New
candidatesoutput attribute to get candidates with score and tags - New
selectedcandidateoutput attribute to get the best recognition candidate - Add a candidate
selectfeature to explicitly change the selected candidate - Replace undo/redo/clear/recognize buttons by the
myscript-common-elementones - Replace the error panel by the
myscript-common-elementones - Upgrade from Polymer 1.2 to 1.4
- Add docs/demo buttons on component page
- Add getStats method to get various stats relative to ink in order to help evaluate the myscript cdk usage
Bugs
- Fixes issue on resize due to CSS
- Explicit default values on documentation