35 Commits

Author SHA1 Message Date
c27f9628f4 Fine-tune markup drawing
This adjusts markup color slightly for the dark display, makes it fully
opaque, alternates the squiggly line between grammar and spelling
mistakes to visualize one-word-two-mistake-types, paints most important
mistakes last/on top etc.

All to make the markup as visible as possible.
2025-03-04 11:09:57 +01:00
a507f24326 Relax line height in the samples 2025-03-03 14:28:39 +01:00
20713b8b5d Add dark color-scheme for samples 2025-03-03 14:28:39 +01:00
24216a4dff Merge remote-tracking branch 'remotes/origin/revise-canvas' 2025-03-03 13:10:51 +01:00
32690de8a7 samples: Fix CKEditor markup style switching 2025-02-28 14:56:12 +01:00
acd7ac1a2b Cleanup CSS 2025-02-28 10:28:39 +01:00
156e6302e6 Fix status icon positioning 2025-02-27 14:49:19 +01:00
20e24b4e3a Replace sample picture
The previous one had visible scroll bar.
2025-02-27 14:19:22 +01:00
bb822f0bbc Extend grammar markup style continued 2025-02-27 14:01:37 +01:00
ad13e9849f Extend grammar markup style 2025-02-26 15:51:15 +01:00
a5db3099c6 Revise canvas management 2025-02-24 14:25:19 +01:00
5e52b71242 Fix <br> and false missing space grammar mistake report
Fixes: #1
2025-02-24 10:39:32 +01:00
661449c2b7 Update onClick logic 2025-02-24 09:00:32 +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
eef106c53f Support for grammar rule category enable/disable 2024-08-05 15:48:57 +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
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
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
7a72474cd3 Solve an issue where the highlight rectangles were split across separate lines. 2024-06-04 09:37:55 +02:00
953d0ef548 Create a mock page for DOM changes 2024-05-24 16:55:25 +02:00
94f55e0d7f service2.js: Revise 2024-05-23 12:35:12 +02:00
06513cab05 Reinstate setTimeout function in CKEditor to ensure proper handling of instances where a specific height value is assigned to the editable element 2024-05-22 14:22:16 +02:00
89201ceaff service2.js: Port CKEditor service 2024-05-22 12:52:23 +02:00
5f83dfa4ba service2.js: Add contenteditable=plaintext-only support 2024-05-21 18:32:30 +02:00
67eee1015e service2.js: Fix corner cases and prepare for plain-text services 2024-05-21 11:43:52 +02:00
ff54607e7e service2.js: Port popup from service.js 2024-05-15 12:28:15 +02:00
e499ad22f8 Fork service2.js
Due to intensive development, service.js grew complex and convoluted.
With lessons learned we shall prepare a cleaner and leaner version of
the code.
2024-05-10 14:23:58 +02:00
38b0b87644 Refactor service.js to enhance the logic for repositioning grammar mistakes 2024-04-15 10:17:55 +02:00
2c7a8f0c48 Resolve misalignment issues in textarea cases 2024-04-03 15:04:36 +02:00
4a23cc057e Rebase besUrl to allow other BesStr API 2024-04-02 16:05:05 +02:00
28eea6eb9d Move samples to dedicated subfolder 2024-04-02 14:32:25 +02:00