45a10827c1
fix: Extend DOM element check to include H1 and H2 tags in BesQuillService
2025-01-31 07:49:13 +01:00
5b10a90814
Fix out-of-bounds index in BesQuillService
2025-01-28 13:55:47 +01:00
675ecdc7a4
fix: Adjust popup positioning #34
2025-01-23 12:35:13 +01:00
18d23633ff
Implement BesQuillService grammar-checking class
2025-01-20 13:31:19 +01:00
cbeadb4d5a
Add Quill editor example
2025-01-17 13:49:50 +01:00
9bfefe6906
refactor: Ensure that entire mistake is highlighted, including parts spanning in multiple lines #2
2025-01-13 12:06:56 +01:00
14e4893b8d
close: Clear previous highlights before displaying popup corrections
...
Closes #2
2025-01-13 11:25:25 +01:00
ac7fe2b90e
feat: Enhance popupCorrectionPanel to highlight selected elements #2
2025-01-13 10:27:05 +01:00
7344379e85
Expose BesPopup to the global window for broader access
2025-01-06 11:26:13 +01:00
202cf7390b
Make Markdown Gitea-compliant
2024-11-28 20:33:45 +01:00
b7315dd608
Expose the rest of the public classes
...
Keep this repo open for all use cases it is intended to provide proofing
services for. Even if there is no existing known client for it yet.
2024-11-25 14:58:23 +01:00
92c1de9c8e
Expose BesCKService to the global window for broader access
2024-11-21 10:53:06 +01:00
5dbe0dd3de
Fix scheduleProofing method availability
...
See-also: 04c7f63b5cf62630e74da5949617831b515b6d03
2024-11-05 09:24:10 +01:00
4918dbfb36
Attach BesService to the global window for broader compatibility
2024-11-05 09:05:20 +01:00
49d21da518
Add export for BesService
2024-10-25 10:37:12 +02:00
b3badae762
Support for grammar rule enable/disable
2024-08-12 14:05:31 +02:00
04c7f63b5c
Cleanup
2024-08-12 14:05:08 +02:00
eef106c53f
Support for grammar rule category enable/disable
2024-08-05 15:48:57 +02:00
6740b14a17
Turn off picky rules
...
Ups?! This was a development phase leftover.
2024-08-05 15:48:07 +02:00
a457f48fbb
Popup dialog dark-scheme
2024-06-28 14:14:11 +02:00
ef2e232813
Set popup position to relative
...
Otherwise z-index has no effect.
2024-06-28 13:33:22 +02:00
6863bee513
Revise positioning and resizing
2024-06-28 11:51:09 +02:00
6c9629dec6
Refactor logic to improve setting correction panel dimensions
2024-06-28 09:03:47 +02:00
a105d4f1c2
Update documentation
2024-06-27 11:42:32 +02:00
4e3559408e
Move status icon out of core grammar checking service
...
Status icon is user-implemented now.
2024-06-27 11:35:40 +02:00
042a6b288c
Extend body mutation observer
...
This adds missing mutation observer unregistration and extends it to
monitor host element resizes too.
2024-06-26 08:51:39 +02:00
393c372bbf
Merge remote-tracking branch 'remotes/origin/master'
2024-06-24 14:59:58 +02:00
d7b6220e57
TODO added
2024-06-24 14:58:58 +02:00
8abb1a56d7
Reuse text element computed styles if applicable
2024-06-24 14:53:53 +02:00
e0b20b9030
Cleanup
2024-06-24 14:52:50 +02:00
bddae0793e
Revise host element display detection logic
...
BesService may be registered on any HTML element: <p>, <body>,
<whatever>... Not only <div>, <textarea> and CKEditor. Therefore, we
need more generic test to distinguish which resize strategy works best.
2024-06-24 14:52:16 +02:00
df4d293ffb
Implement position observer to monitor if hostElement moves it's position
2024-06-20 09:47:36 +02:00
7dc00af858
Improve logic for adjusting correction panel dimensions to support inline elements
...
This is still a WIP commit, hence the code is yet to be refactored eventually
2024-06-20 08:52:16 +02:00
9c869a2897
Fix correction panel size calculation
2024-06-18 11:09:03 +02:00
e2cb4b95e3
Fix contenteditable attribute evaluation
2024-06-18 10:51:24 +02:00
00b416f8cb
samples: Reorder HTML to group related things together
2024-06-18 10:44:33 +02:00
3a8919c260
Add convenience methods for runtime (un)registration and a sample
2024-06-18 09:49:09 +02:00
843d2d5b1f
Prevent duplicate service registrations
2024-06-18 09:38:54 +02:00
b2fcaab30b
samples: Sync text
2024-06-18 08:50:53 +02:00
604fc960d5
service2.js → service.js
2024-06-14 12:30:07 +02:00
4060f0866c
service2.js: Finish <textarea> support
2024-06-14 12:25:33 +02:00
e1b4bfb2c0
Move repositionAllMarkup() upstream
2024-06-13 10:05:55 +02:00
6b92aeb11a
Document constructors
2024-06-12 12:50:15 +02:00
2f8b8d0e45
Extend classes documentation
...
This should encourage developers and users of this service pick the
right tool for the right job.
2024-06-11 11:05:14 +02:00
a5bc133d5e
Center popup placement on narrow screens
...
Previous calculation resulted in out of screen placement on insanely
narrow screens.
2024-06-10 16:39:47 +02:00
56a27c8432
Revise rule classification
...
The LanguageTool browser plugin marks spelling mistakes with rule(s)
which ID starts with "MORFOLOGIK_RULE". This adopts the same logic.
2024-06-10 16:38:47 +02:00
a23037d23a
Merge remote-tracking branch 'remotes/origin/master'
2024-06-10 16:00:54 +02:00
71b56bd005
Merge commit '7a72474cd3e84a97478be011c45a43a4afe8ca7d'
2024-06-10 15:50:08 +02:00
43d7198b74
Revert "Implement debouncing to optimize text error handling"
...
It provided partial implementation only: for BesDOMService. What about
CKEditor?
This was optimizing something that users could "potentially" experience.
I didn't experience any performance problems on texts with hundreds of
grammar mistakes. Let alone a typical text users would have.
Skipping repositionAllMarkup() provides temporary misalignment between
markup and text. Performance vs. aesthetics?
Not convinced.
Reverts: 32f4360de9a5d2654a338ecf590d8f5f5cae2fec
2024-06-10 15:46:25 +02:00
f1bd0a2416
Merge commit '32f4360de9a5d2654a338ecf590d8f5f5cae2fec'
2024-06-10 15:04:23 +02:00