37855374bb
Fix popup visibility issue in CKEditor
2024-04-11 11:49:04 +02:00
6aaa8c4472
Add a comment about possible performance issues
2024-04-10 09:50:41 +02:00
cf8bc8afbd
Improve asynchronous handling and status rendering in proof function
...
The changes ensure that all recursive calls are properly awaited, leading to more predictable and reliable behavior.
Additionally, the status rendering has been also improved with these changes.
2024-04-08 11:56:02 +02:00
5b13bd3d28
Prevent screen 'shaking' on invocation of a popup window
2024-04-04 14:33:08 +02:00
ccbd80dcb7
Resolve issue with handling multiple mistakes in single CKEditor block element
2024-04-04 14:19:31 +02:00
3af7a4da63
Optimize repositioning mistakes in CKEditor
2024-04-04 10:54:30 +02:00
dcda2d89dc
Disable CKEditor's spellchecker
2024-04-04 07:53:20 +02:00
2c7a8f0c48
Resolve misalignment issues in textarea cases
2024-04-03 15:04:36 +02:00
2c40258d19
Resolve inconsistency in widths of cloneDiv and textarea elements
2024-04-03 10:15:11 +02:00
51fdf52fa9
Make a function to copy textarea content to cloneDiv element
2024-04-03 08:23:41 +02:00
fbfb8b419f
Reformat
2024-04-02 16:05:31 +02:00
4a23cc057e
Rebase besUrl to allow other BesStr API
2024-04-02 16:05:05 +02:00
3e868b2517
TextArea: Position cursor after user selects suggested correction
2024-04-02 14:27:59 +02:00
e6324c55b3
Cleanup
2024-04-02 14:26:17 +02:00
7d7682ae9a
Skip markup in inline elements
...
It may end up in grammar suggestions. Thou, this partially removes
markup when user confirms suggestion it happens rarely - when grammar
mistakes spans across inline element boundaries (e.g. `Popravite
<a href=".">kar želite</a>.`).
2024-04-02 13:22:08 +02:00
35c518e0e0
Move besUrl out of source-controlled code
2024-04-02 10:09:36 +02:00
780bc25da6
Improve repostioning mistakes after scrolling logic
2024-03-29 08:09:27 +01:00
c6424e801d
Fix repositioning mistakes after scrolling
2024-03-29 07:17:41 +01:00
eb1ec95749
Implement new popup for service unregistration.
...
The popup not only serves the immediate purpose of unregistering services but is also designed with future enhancements in mind. It can be used as a display element for showcasing all errors present in the current host element in upcoming versions of besService.
2024-03-28 14:08:44 +01:00
8d1e9681f6
Tweak handleInput function for better handling of textareas
2024-03-28 07:59:55 +01:00
f29d6732c3
Add some documentation
2024-03-26 11:04:00 +01:00
1ed14519e7
Tweak registering besService and unify textarea and div contenteditable classes
2024-03-26 10:53:02 +01:00
dca6ecd28a
Eliminate bug in handleTAClick function to improve stability
2024-03-26 10:35:46 +01:00
51c19451fb
Enhance visual style of replacement buttons
2024-03-26 08:14:49 +01:00
517230ac49
Refine mistakes display for textarea inputs
2024-03-21 15:00:47 +01:00
02eb1a22e0
Enhance aesthetics of popup element.
2024-03-21 11:17:03 +01:00
73d7706749
Improve displaying mistakes count and add TODOs
2024-03-21 09:51:36 +01:00
cdfe9618c2
Implement creation and positioning of statusDiv within registered hostElement
2024-03-21 08:04:32 +01:00
a48597b979
Resolve issue with click event handling
2024-03-19 14:49:19 +01:00
385e38c06d
Implement text replacement feature in textarea elements
2024-03-19 14:03:57 +01:00
dbecc61ec3
Tweak besTAService and besService for successful popup display
2024-03-19 09:45:16 +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
2d1195ee96
Resolve status display issue for CKEditor instances
2024-03-18 11:19:47 +01:00
9680ece493
Display besService status icon in bottom-right corner
...
The .svg icons were created on www.svgrepo.com and have PD License
2024-03-18 10:29:25 +01:00
3bb8b6df1c
Enhance user-friendliness of popup
2024-03-15 08:53:32 +01:00
acc047f48f
Implement drag functionality to popup element
2024-03-15 08:34:27 +01:00
abfbfa7e79
Resolve issue with rendering popups across multiple active besService instances
2024-03-15 07:52:49 +01:00
82a86725eb
Refactor replaceText function for improved compatibility with CKEditor instances
2024-03-14 12:01:43 +01:00
87c7f79ebe
Split BesService to isolate CKEditor specifics in BesCKService
2024-03-13 13:03:14 +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