Merge pull request #16070 from keymanapp/chore/web/improvedoc

chore(web): more improvements to documentation

- some small updates to the text
This commit is contained in:
Eberhard Beilharz 2026-06-09 18:19:00 +02:00 committed by GitHub
commit 52e6854d9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

View file

@ -36,7 +36,7 @@
<p>Email to <span class='note'>(KeymanWeb not enabled)</span><br /><input type='text' name='address' size="40" placeholder="id = address"/></p>
<p>Subject <span class='note'>(Defaults to 'English' or 'off' unless on a touch-based device)</span><br /><input type='text' name='subject' size="40" placeholder="id = subject"/></p>
<p>Subject <span class='note'>(Defaults to '(System keyboard)' or 'off' unless on a touch-based device)</span><br /><input type='text' name='subject' size="40" placeholder="id = subject"/></p>
<p>Message body <span class='note'>(Defaults to 'LaoKeys')</span><br /><textarea name='text' cols='40' rows='10' placeholder="id = text"></textarea></p>

View file

@ -31,8 +31,6 @@ In this example, we use only the LaoKey keyboard. Please click
</head>
```
As you can see above, the second line in the code snippet above references the LaoKey keyboard loader JavaScript file. This is a small stub file, typically less than 200 bytes, that defines the name and actual location of the real keyboard file (in this case, **laokeys.js**). When a page may reference many keyboards, this saves downloading potentially hundreds of kilobytes of unused Javascript keyboards - the keyboard is downloaded when it is first selected by the user.
## API References
On initialization: [`keyman.init()`](../../reference/core/init).

View file

@ -63,7 +63,7 @@ describe('LanguageProcessor', function() {
assert.isTrue(languageProcessor.mayPredict);
// Some aspects of initialization must wait until after construction and overall
// load of the core. See /web/source/kmwbase.ts, in the final IIFE.
// load of the core.
assert.isOk(languageProcessor.lmEngine);
});
});