Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGUI Wiki Editor does not show Text of wiki page. Pressing save deletes all. #23979

Closed
Henri-Kassulis opened this issue Apr 7, 2023 · 2 comments · Fixed by #23984
Closed
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@Henri-Kassulis
Copy link

Description

When i edit any existing wiki page, gitea will not show the wiki pages content in the editor view.
There is no content. If i press save on the empty page, all the previous content is gone.
This makes it impossible for to use the Web GUI editor.

I am using getea as it is hosted on gitea.com
https://gitea.com/henri/wiki/wiki/Testpage
was able to reproduce it on
https://try.gitea.io/henri/wikitest-repo/wiki/Home

This issue started a few day ago after the editor was changed to not be WYSIWYG any more.
I have tested it with Firefox and Chrome. Both have the bug.

Sorry, if this is the wrong place to report this issue.

Screenshots

gite wiki bug 1
gitea wiki bug 2

Gitea Version

Version: 1.20.0+dev-349-g17f23182f

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows 7

Browser Version

Firefox 111.0.1 (64-bit)

@Henri-Kassulis Henri-Kassulis added type/bug topic/ui Change the appearance of the Gitea UI labels Apr 7, 2023
@wxiaoguang
Copy link
Contributor

I guess it's a regression bug caused by my PR, I will take a look soon.

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Apr 7, 2023

Fix wiki editor bug: the content is lost #23984

Thank you very much for your report.

ps: there are still some other size problems with the new editor, I hope #23895 could make it better (it will be merged soon). If you have any problems, feel free to report them.

lunny pushed a commit that referenced this issue Apr 9, 2023
The `$content` was prepared above, but forgot to put it into the editor

Fix #23979
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants