Create browser plugins for Korektor service.
Create browser plugins for Korektor service.
Current plan is to have nearly same plugins for Firefox and Chrome. The plugin add context menu items which appear when clicking on input, textarea or contenteditable HTML fields. The rest of the implementation is a Javascript injected to the page.
Features:
- should work with "plain"
inputandtextareafields, together with anycontenteditablewhere it must preserve formatting to a greatest extent possible. - use HTML dialog allowing to choose from multiple suggestions or type a custom one
Is there something from the initial feature set not implemented yet? Are there any other ideas or plans, how to improve the extension?
In Chrome, an icon of Korektor appears on toolbar after installation; but we do not use it in any way (i.e., we do not have any context menu on left-click) and we probably should.
In Firefox, I am not sure what the current policy is, but having an icon appearing on toolbar after installation would be also reasonable (so that users can "see" the plugin is installed) -- but maybe we should instead use the "Tools" menu?
Other than that, the plugin currently offers all functionality as the web service. So the future improvements probably lie in (much) better UI -- the current one is a prototype I patched up in a few days. Opening the window "in" the page seems like a horrible hack, but I did not find a better way.