c7f4ca2653
Enable Typescript noImplicitAny
( #33322 )
...
Enable `noImplicitAny` and fix all issues.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-01-22 15:11:51 +08:00
2cb3946496
Make issue suggestion work for all editors ( #33340 )
...
And do not handle special keys when the text-expander popup exists
2025-01-21 19:33:45 +08:00
d7ec23febf
Fix editor markdown not incrementing in a numbered list ( #33187 )
...
Amended the logic for newPrefix in the MarkdownEditor to resolve
incorrect number ordering.
Fixes #33184
Attached screenshot of fixed input similar to issue
<img width="175" alt="Screenshot 2025-01-09 at 23 59 24"
src="https://github.com/user-attachments/assets/dfa23cf1-f3db-4b5e-99d2-a71bbcb289a8 "
/>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-01-10 07:28:38 +00:00
1a7591d7f9
fix textarea newline handle ( #32966 )
...
- Fix cursor position if input newline on middle of lines
- ~Increment number if numbered list~

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-12-25 13:03:43 +08:00
af28ce59b8
Add some handy markdown editor features ( #32400 )
...
There were some missing features from EasyMDE:
1. H1 - H3 style
2. Auto add task list
3. Insert a table
And added some tests
2024-11-04 10:14:36 +00:00
620f19610e
Prevent from submitting issue/comment on uploading ( #32263 )
...
fix #32262
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2024-10-23 10:48:04 +08:00
5791a73e75
Convert frontend code to typescript ( #31559 )
...
None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
61105d0618
because of a deprecation that was not showing before the rename).
`tsc` currently reports 778 errors, so I have disabled it in CI as
planned.
Everything appears to work fine.
2024-07-07 15:32:30 +00:00