fluks / fin-spell Goto Github PK
View Code? Open in Web Editor NEWVoikko-based spellchecking for Firefox (experimental).
License: GNU General Public License v3.0
Voikko-based spellchecking for Firefox (experimental).
License: GNU General Public License v3.0
I noticed that Element (Matrix client) does use <div role="textbox">
elements with its input text fields:
<div class="mx_BasicMessageComposer_input mx_BasicMessageComposer_input_shouldShowPillAvatar" tabindex="0" aria-label="Send a message…" role="textbox" aria-multiline="true" aria-autocomplete="both" aria-haspopup="listbox" aria-expanded="false" dir="auto" spellcheck="true" style="" contenteditable="true"><div>Input text comes here</div></div>
And even I try to put:
div[role=textbox]
In "Spellchecked Elements" inside the Fin Spell settings it won't perform spell checking for those elements. It correctly disables the Firefox spell checking functionality for those elements when I turn the Fin Spell ON but it does not perform the Finnish (Voikko) spell checking against those fields.
More information about those div type="textbox" elements can be found from here: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/textbox_role
To improve UX, read the word under mouse pointer when the user wants suggestions or is adding the word to the dictionary, instead of moving the text cursor on the word.
In my research I found this to be impossible, but I'm not sure about that.
When the scripts are injected and the user starts to write, spellcheck attribute can be set to false, if the element has it. Then we can be sure there's no two different spellchecking highlights.
Add Päälle/Pois functionality in Firefox context menu. Now I need to push the Finnish flag (extenstion) button and select Päälle or Pois to enable or disable the spell checking. It would be easier if this option was available in the Firefox context menu (the menu which opens when I right click ~anywhere on the website):
[X] Finnish Spell Checking
Firefox allows to edit the context menu from the addons, here is some documentation about it: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items
Start using manifest v3 API.
The sdk-1.38.30-64bit version needs to be compiled now probably. With the latest version I get uncaught exception: getpwuid_r: TODO
in the background script and Voikko doesn't work. I was able to use the version sdk-fastcomp-1.38.30-64bit
successfully with rel-libvoikko-4.3 version of Voikko.
Make the sidebar's textarea to fill the sidebar. It should react to resizing the sidebar.
Please add an option to enable (or disable) the spell checking by default. Now I have to click on the Finnish flag icon in the toolbar and click "Päälle". It would be really nice if there was an option to enable or disable the spell checking by default.
Or even better: If there was a possiblity to add different sites (by using regex for example) where the spell checking is enabled or disabled by default, depending of the setting I suggested above.
Now the spell checker check the word I'm writing immediately there are something to spell check, like:
Tämä on tes|
It whill highlight that "tes" word there even I haven't finished it: testiä
.
There have been som discussion already about this on another issue, here: #3 (comment)
Highlighting all the text on every key press is slow if the text is long or you write fast. Only the edited word should be highlighted on every key press and all the other highlighting should stay as they are.
Title says it all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.