Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix editor markdown not incrementing in a numbered list#33187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lunny merged 7 commits intogo-gitea:mainfromharryvince:main
Jan 10, 2025

Conversation

@harryvince
Copy link
Contributor

Amended the logic for newPrefix in the MarkdownEditor to resolve incorrect number ordering.

Fixes#33184

Attached screenshot of fixed input similar to issue
Screenshot 2025-01-09 at 23 59 24

@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJan 10, 2025
@harryvinceharryvinceforce-pushed themain branch 6 times, most recently fromcd32276 tofd815c8CompareJanuary 10, 2025 00:31
@harryvinceharryvince changed the titlefix: editor markdown not incrementing in a numbered listFix editor markdown not incrementing in a numbered listJan 10, 2025
@wxiaoguang
Copy link
Contributor

I will try to make a full fix here, to handle all edge cases including:

1. a2. b <- enter here, then last line should be "4. c"3. c

@wxiaoguang
Copy link
Contributor

Now most edge cases should have been fixed, and added more tests

harryvince reacted with thumbs up emoji

Copy link
Contributor

@wxiaoguangwxiaoguang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

So many edge cases .... I have done my best 🤣

@GiteaBotGiteaBot removed the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJan 10, 2025
@GiteaBotGiteaBot added the lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelJan 10, 2025
@wxiaoguangwxiaoguang mentioned this pull requestJan 10, 2025
@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsJan 10, 2025
@lunnylunny added the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJan 10, 2025
@lunnylunnyenabled auto-merge (squash)January 10, 2025 07:28
@lunnylunny merged commitd7ec23f intogo-gitea:mainJan 10, 2025
26 checks passed
@GiteaBotGiteaBot removed the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJan 10, 2025
wxiaoguang added a commit to wxiaoguang/gitea that referenced this pull requestJan 10, 2025
Amended the logic for newPrefix in the MarkdownEditor to resolveincorrect number ordering.Fixesgo-gitea#33184Attached 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>
lunny pushed a commit that referenced this pull requestJan 10, 2025
)Backport#33187 (no conflict)Co-authored-by: Harry Vince <47283812+harryvince@users.noreply.github.com>
@GiteaBotGiteaBot added the backport/manualNo power to the bots! Create your backport yourself! labelJan 10, 2025
@lunnylunny added the backport/doneAll backports for this PR have been created labelJan 10, 2025
@go-giteago-gitea deleted a comment fromGiteaBotJan 10, 2025
zjjhot added a commit to zjjhot/gitea that referenced this pull requestJan 14, 2025
* giteaofficial/main: (21 commits)  Support public code/issue access for private repositories (go-gitea#33127)  Validate that the tag doesn't exist when creating a tag via the web (go-gitea#33241)  [skip ci] Updated translations via Crowdin  Switch back to `vue-tsc` (go-gitea#33248)  Let API create and edit system webhooks, attempt 2 (go-gitea#33180)  Fix incorrect ref "blob" (go-gitea#33240)  Refactor RefName (go-gitea#33234)  Refactor context RefName and RepoAssignment (go-gitea#33226)  [skip ci] Updated translations via Crowdin  Fix upload file form (go-gitea#33230)  Fix mirror bug (go-gitea#33224)  Remove unused CSS styles and move some styles to proper files (go-gitea#33217)  Refactor context repository (go-gitea#33202)  [skip ci] Updated translations via Crowdin  Fix unpin hint on the pinned pull requests (go-gitea#33207)  fix(cache): cache test triggered by non memory cache (go-gitea#33220)  Update README.md (go-gitea#33149)  Fix editor markdown not incrementing in a numbered list (go-gitea#33187)  Some small refactors (go-gitea#33144)  Fix sync fork for consistency (go-gitea#33147)  ...
@go-giteago-gitea locked asresolvedand limited conversation to collaboratorsApr 10, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@lunnylunnylunny approved these changes

@wxiaoguangwxiaoguangwxiaoguang approved these changes

Assignees

No one assigned

Labels

backport/doneAll backports for this PR have been createdbackport/manualNo power to the bots! Create your backport yourself!lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/frontend

Projects

None yet

Milestone

1.24.0

Development

Successfully merging this pull request may close these issues.

Markdown editor doesn't increment points in numbered lists on enter

4 participants

@harryvince@wxiaoguang@lunny@GiteaBot

[8]ページ先頭

©2009-2025 Movatter.jp