Commit Graph

  • f29d6732c3 Add some documentation Aljaz Grilc 2024-03-26 11:04:00 +01:00
  • 1ed14519e7 Tweak registering besService and unify textarea and div contenteditable classes Aljaz Grilc 2024-03-26 10:53:02 +01:00
  • dca6ecd28a Eliminate bug in handleTAClick function to improve stability Aljaz Grilc 2024-03-26 10:35:46 +01:00
  • 51c19451fb Enhance visual style of replacement buttons Aljaz Grilc 2024-03-26 08:14:49 +01:00
  • 517230ac49 Refine mistakes display for textarea inputs Aljaz Grilc 2024-03-21 15:00:47 +01:00
  • 02eb1a22e0 Enhance aesthetics of popup element. Aljaz Grilc 2024-03-21 11:17:03 +01:00
  • 73d7706749 Improve displaying mistakes count and add TODOs Aljaz Grilc 2024-03-21 09:51:36 +01:00
  • cdfe9618c2 Implement creation and positioning of statusDiv within registered hostElement Aljaz Grilc 2024-03-21 08:04:32 +01:00
  • a48597b979 Resolve issue with click event handling Aljaz Grilc 2024-03-19 14:49:19 +01:00
  • 385e38c06d Implement text replacement feature in textarea elements Aljaz Grilc 2024-03-19 14:03:57 +01:00
  • dbecc61ec3 Tweak besTAService and besService for successful popup display Aljaz Grilc 2024-03-19 09:45:16 +01:00
  • 6444dab919 Implement initial BesTAService class for grammar checking in textarea Aljaz Grilc 2024-03-19 08:46:43 +01:00
  • 2d1195ee96 Resolve status display issue for CKEditor instances Aljaz Grilc 2024-03-18 11:19:47 +01:00
  • 9680ece493 Display besService status icon in bottom-right corner Aljaz Grilc 2024-03-18 10:29:25 +01:00
  • 3bb8b6df1c Enhance user-friendliness of popup Aljaz Grilc 2024-03-15 08:53:32 +01:00
  • acc047f48f Implement drag functionality to popup element Aljaz Grilc 2024-03-15 08:34:27 +01:00
  • abfbfa7e79 Resolve issue with rendering popups across multiple active besService instances Aljaz Grilc 2024-03-15 07:52:49 +01:00
  • 82a86725eb Refactor replaceText function for improved compatibility with CKEditor instances Aljaz Grilc 2024-03-14 12:01:43 +01:00
  • 87c7f79ebe Split BesService to isolate CKEditor specifics in BesCKService Simon Rozman 2024-03-13 13:03:14 +01:00
  • 63584185ae Unify nomenclature Simon Rozman 2024-03-13 12:35:54 +01:00
  • ef6615941b Fix various issues Simon Rozman 2024-03-13 11:58:38 +01:00
  • 374dd0045a Enhance replaceText logic for CKEditor Aljaz Grilc 2024-03-13 08:48:00 +01:00
  • dde1010026 Rename and simplify constructor parameters Aljaz Grilc 2024-03-13 08:11:02 +01:00
  • 41c5954e89 Implement text replacement feature for CKEditor cases Aljaz Grilc 2024-03-12 16:49:27 +01:00
  • 259fc25f6f Add some more documentation, upgrade addMistakeMarkup for multiline Simon Rozman 2024-03-12 12:58:26 +01:00
  • bc0a3f7905 Revise event handling, document, cleanup Simon Rozman 2024-03-12 11:23:11 +01:00
  • 674e9498e6 Display highlight elements in CKEditor cases. Aljaz Grilc 2024-03-11 08:20:50 +01:00
  • 9bc5705aab Add a classic CKEditor editing area html Aljaz Grilc 2024-03-11 08:06:30 +01:00
  • dee4577db1 Resolve issue where buttons were not being properly removed Aljaz Grilc 2024-02-22 14:17:45 +01:00
  • 1b2483ee54 Enhance logic for rendering mistakes post-scroll and optimize the clearMistakesMarkup function Aljaz Grilc 2024-02-22 11:48:29 +01:00
  • cee4cb90a8 Set spellcheck attribute to false via JS Aljaz Grilc 2024-02-21 13:48:50 +01:00
  • 26539b8c10 Add TODO comment and commented code for rich HTML text replacement Aljaz Grilc 2024-02-21 13:43:55 +01:00
  • 3f39889b0b Fix popup replacement buttons rendering bug Aljaz Grilc 2024-02-21 11:57:05 +01:00
  • 334c2eabab Wrap first child of 'bes-online-editor' in a div if it's not a block element Aljaz Grilc 2024-02-21 09:33:02 +01:00
  • 88685b05c7 Enhance handleClick function to support invocation from rich HTML content Aljaz Grilc 2024-02-20 17:19:37 +01:00
  • aa905921f9 Update handleBeforeInput logic Aljaz Grilc 2024-02-20 12:39:46 +01:00
  • 9522ace2ce Cleanups and improvements Simon Rozman 2024-02-19 16:14:03 +01:00
  • dc4418038d Add textarea element Aljaz Grilc 2024-02-19 11:30:50 +01:00
  • 544a43b191 Add feature to reposition mistakes functionality after text replacement Aljaz Grilc 2024-02-16 10:08:34 +01:00
  • f30ee9d5ca Update spellcheck attribute in index.html Aljaz Grilc 2024-02-16 10:06:38 +01:00
  • 3b9d2dd73b Implement functionality to replace text with suggestions inside popup. Aljaz Grilc 2024-02-14 09:32:21 +01:00
  • a6130c39ce Move code from popupjs and paste it into main JS file. Aljaz Grilc 2024-02-13 11:42:41 +01:00
  • fbb9a06a10 Add TODO mark Aljaz Grilc 2024-02-13 11:23:43 +01:00
  • 6bdb339b88 Add MutationObserver for Editor Changes. Aljaz Grilc 2024-02-13 09:55:37 +01:00
  • 06c88c37cd Support rendering popup after scroll events Aljaz Grilc 2024-02-09 12:18:43 +01:00
  • fe98c9237a Move styles to .css file and remove redundant class rules. Aljaz Grilc 2024-02-09 10:56:37 +01:00
  • 5d9d22bfef Refactor correction panel creation to support scroll functionality Aljaz Grilc 2024-02-09 10:38:31 +01:00
  • 40631798d1 Support rendering mistakes for multiple active editors Aljaz Grilc 2024-02-07 14:04:57 +01:00
  • 1efc383c50 Remove editor's and correction-panel's IDs Aljaz Grilc 2024-02-07 13:08:24 +01:00
  • 10d41da4f4 Add readme Simon Rozman 2024-02-07 12:40:49 +01:00
  • bf94c6a53a Enforce VSCode settings for all developers Simon Rozman 2024-02-07 12:40:34 +01:00
  • 81240397d7 Allow post-window.onload editor registration Simon Rozman 2024-02-07 12:39:27 +01:00
  • 494107bafb Insert correction panel using JS and add editor IDs to support multiple editors Aljaz Grilc 2024-02-07 11:13:32 +01:00
  • 09be0aec88 Add .prettierrc file with formatting settings Aljaz Grilc 2024-02-07 09:09:07 +01:00
  • dd5a6ff85b Apply JS formatter Aljaz Grilc 2024-02-07 09:08:53 +01:00
  • f3f37fff02 Rename methods to describe better what they are doing Simon Rozman 2024-02-06 16:27:37 +01:00
  • 7fc063650c Cache correction panel element Simon Rozman 2024-02-06 16:23:47 +01:00
  • 1ef4cd2a2e Cleanup Simon Rozman 2024-02-06 15:57:52 +01:00
  • bb58472a5c Cleanup Simon Rozman 2024-02-06 15:55:43 +01:00
  • e33fb6b8fc Convert into class Simon Rozman 2024-02-06 15:34:00 +01:00
  • 01be8afcdf Rename popup component, and render replacement suggestions Aljaz Grilc 2024-02-06 15:07:38 +01:00
  • b1778aa658 Fix editor referencing Simon Rozman 2024-02-06 14:55:45 +01:00
  • 6342e8c68f Fix potential use-before-init Simon Rozman 2024-02-06 14:33:12 +01:00
  • 2a579b53fd Cleanup Simon Rozman 2024-02-06 14:07:09 +01:00
  • aa7ff184a2 Fix right&bottom edge of point-in-rect test Simon Rozman 2024-02-06 14:04:29 +01:00
  • c14294d80d Add support for handling editor resize events Aljaz Grilc 2024-02-06 10:59:46 +01:00
  • a9330e50b9 Update mistake rendering and clearing functionality Aljaz Grilc 2024-02-06 10:11:18 +01:00
  • 41c6c22dfa Enhance popup styles and improve functionality Aljaz Grilc 2024-02-05 14:40:32 +01:00
  • c364ed71ee Refine popup positioning and update it's styles Aljaz Grilc 2024-02-02 15:34:37 +01:00
  • 12c93bc0b4 On click open correct popup and show error message Aljaz Grilc 2024-02-02 13:06:15 +01:00
  • c0605e4a60 Respect element lang attribute if present Simon Rozman 2024-02-02 11:10:54 +01:00
  • 5aaf30934a Rename classes to follow 'bes-xyz' naming convention and apply JavaScript formatter Aljaz Grilc 2024-02-02 11:03:37 +01:00
  • 218bac6ece Simplify besGetBlockParent() Simon Rozman 2024-02-02 10:44:51 +01:00
  • b034d5dd56 Add note for .online-editor Simon Rozman 2024-02-02 10:40:25 +01:00
  • 887741f061 Minor code revision Simon Rozman 2024-02-02 10:34:53 +01:00
  • 4d29dfa06e Refactor code Simon Rozman 2024-02-02 10:13:49 +01:00
  • 4e2409fa38 Implement correction panel with highlight functionality for error display Aljaz Grilc 2024-02-02 09:18:28 +01:00
  • aa3f025c7d Support HTML editing with inline <span> grammar markup Simon Rozman 2024-02-01 12:56:36 +01:00
  • 0d8d6e165a Separate internal and LanguageTool data formats Simon Rozman 2024-02-01 09:43:18 +01:00
  • 279c815b15 Make sample text more complicated Simon Rozman 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 Aljaz Grilc 2024-01-31 14:59:15 +01:00
  • 9447faa024 Attempt to extend grammar checking to HTML Simon Rozman 2024-01-31 12:34:38 +01:00
  • 4470c4fccf Unique function names and cleanup Simon Rozman 2024-01-31 08:51:25 +01:00
  • 3e4a4e6e91 Support initial and periodic grammar checks Simon Rozman 2024-01-30 15:40:44 +01:00
  • 1ce46bf8a2 Create popup component and implement bestr api calls Aljaz Grilc 2024-01-30 10:09:16 +01:00
  • db9785744f Improve paragraph splitting logic Aljaz Grilc 2024-01-29 14:18:16 +01:00
  • f733f73509 Implement basic spell checking functionality Aljaz Grilc 2024-01-29 11:04:39 +01:00
  • 93d3dbfd8f Initial commit Aljaz Grilc 2024-01-25 14:06:36 +01:00