c6424e801d
Fix repositioning mistakes after scrolling
2024-03-29 07:17:41 +01:00
1ed14519e7
Tweak registering besService and unify textarea and div contenteditable classes
2024-03-26 10:53:02 +01:00
517230ac49
Refine mistakes display for textarea inputs
2024-03-21 15:00:47 +01:00
73d7706749
Improve displaying mistakes count and add TODOs
2024-03-21 09:51:36 +01:00
6444dab919
Implement initial BesTAService class for grammar checking in textarea
...
This commit introduces the BesTAService class, which is designed to register a grammar checking service for textarea elements. The core logic has been written, although the class is not yet fully functional.
2024-03-19 08:46:43 +01:00
63584185ae
Unify nomenclature
...
Our thing is a grammar checking service for HTML editors. Not editor as
such.
2024-03-13 12:35:54 +01:00
cee4cb90a8
Set spellcheck attribute to false via JS
2024-02-21 13:48:50 +01:00
dc4418038d
Add textarea element
2024-02-19 11:30:50 +01:00
f30ee9d5ca
Update spellcheck attribute in index.html
2024-02-16 10:06:38 +01:00
a6130c39ce
Move code from popupjs and paste it into main JS file.
2024-02-13 11:42:41 +01:00
fe98c9237a
Move styles to .css file and remove redundant class rules.
2024-02-09 10:56:37 +01:00
1efc383c50
Remove editor's and correction-panel's IDs
2024-02-07 13:08:24 +01:00
494107bafb
Insert correction panel using JS and add editor IDs to support multiple editors
2024-02-07 11:13:32 +01:00
bb58472a5c
Cleanup
...
No need for besEditors to be a dictionary any more. This also makes us
id-agnostic with <div class="bes-online-editor">. 😎
2024-02-06 15:58:11 +01:00
01be8afcdf
Rename popup component, and render replacement suggestions
2024-02-06 15:07:38 +01:00
5aaf30934a
Rename classes to follow 'bes-xyz' naming convention and apply JavaScript formatter
2024-02-02 11:03:37 +01:00
887741f061
Minor code revision
2024-02-02 10:34:53 +01:00
4e2409fa38
Implement correction panel with highlight functionality for error display
2024-02-02 09:18:28 +01:00
aa3f025c7d
Support HTML editing with inline <span> grammar markup
2024-02-01 12:56:36 +01:00
279c815b15
Make sample text more complicated
...
To catch as many corner cases as possible.
2024-02-01 09:41:20 +01:00
8fe954993b
Reverse sorting order and find a way to apply spans when the range has partially selected a non-text node
2024-01-31 14:59:15 +01:00
9447faa024
Attempt to extend grammar checking to HTML
2024-01-31 12:34:38 +01:00
3e4a4e6e91
Support initial and periodic grammar checks
2024-01-30 15:40:44 +01:00
1ce46bf8a2
Create popup component and implement bestr api calls
2024-01-30 10:09:16 +01:00
db9785744f
Improve paragraph splitting logic
2024-01-29 14:18:16 +01:00
f733f73509
Implement basic spell checking functionality
2024-01-29 11:04:39 +01:00
93d3dbfd8f
Initial commit
2024-01-25 14:06:36 +01:00