Unify issue and wiki editors #3346

Closed
opened 2025-11-02 05:09:23 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @ypnos on GitHub (May 17, 2019).

This is a feature request.

Description

Right now there is a unintuitive feature discrepancy between issues and wiki pages:

  • Issue comments can have attached files, wiki pages cannot (see #574)
  • Wiki pages have a semi-WYSIYWG markdown editor UI, issues have a bare text form (related #5436)

It would be great if both could share one interface that is feature-complete.

Originally created by @ypnos on GitHub (May 17, 2019). This is a feature request. ## Description Right now there is a unintuitive feature discrepancy between issues and wiki pages: * Issue comments can have attached files, wiki pages cannot (see #574) * Wiki pages have a semi-WYSIYWG markdown editor UI, issues have a bare text form (related #5436) It would be great if both could share one interface that is feature-complete.
GiteaMirror added the outdated/theme/markdowntype/proposal labels 2025-11-02 05:09:23 -06:00
Author
Owner

@Cherrg commented on GitHub (Jun 18, 2019):

sets sum the tasks up:

Wiki

  • add Write/Preview Buttons like in issues (#7241 )
  • add fileupload
    • backend+routes to allow file uploads to wiki repository (may by #6024)
    • add dropzone like in issues
    • add inplace file insert (paste directly in editor -> is really not much js, if dropzone i working)
  • add media listing like _pages to list file tree (complete) and for defined paths
    • allow file delete
    • add an api for this
  • add file select to codemirror to browse files and insert link, uses api above

Issues

  • add codemirror editor (simpleMDE) as this is near enough to an wysiwyg editor

I will add the editor to issues, but i will wait, until all features added to the wiki editor are in master branch. So I only need to copy from there. Otherwise I will have to manually look up all changes before i could reuse it the code there.

As some tasks could be done seperatly there could be smaller PRs.
I will implement some of this, and link the PRs here.

@Cherrg commented on GitHub (Jun 18, 2019): sets sum the tasks up: **Wiki** - [x] add Write/Preview Buttons like in issues (#7241 ) - [ ] add fileupload - [ ] backend+routes to allow file uploads to wiki repository (may by #6024) - [ ] add dropzone like in issues - [ ] add inplace file insert (paste directly in editor -> is really not much js, if dropzone i working) - [ ] add media listing like _pages to list file tree (complete) and for defined paths - [ ] allow file delete - [ ] add an api for this - [ ] add file select to codemirror to browse files and insert link, uses api above **Issues** - [ ] add codemirror editor (simpleMDE) as this is near enough to an wysiwyg editor I will add the editor to issues, but i will wait, until all features added to the wiki editor are in master branch. So I only need to copy from there. Otherwise I will have to manually look up all changes before i could reuse it the code there. As some tasks could be done seperatly there could be smaller PRs. I will implement some of this, and link the PRs here.
Author
Owner

@6543 commented on GitHub (Jan 13, 2020):

this is a dublicate of #5436

and gitea v1.11.0 close this anyway ...

@6543 commented on GitHub (Jan 13, 2020): this is a dublicate of #5436 and gitea v1.11.0 close this anyway ...
Author
Owner

@ypnos commented on GitHub (Jan 13, 2020):

Can wiki pages have attached files in 1.11? I don't see it in the changelog for RC1.

@ypnos commented on GitHub (Jan 13, 2020): Can wiki pages have attached files in 1.11? I don't see it in the changelog for RC1.
Author
Owner

@6543 commented on GitHub (Jan 13, 2020):

no they dont have attachments jet

@6543 commented on GitHub (Jan 13, 2020): no they dont have attachments jet
Author
Owner

@ypnos commented on GitHub (Jan 13, 2020):

The aim of this issue is a consistent behavior and feature parity between Issue and Wiki editors.

@ypnos commented on GitHub (Jan 13, 2020): The aim of this issue is a consistent behavior and feature parity between Issue and Wiki editors.
Author
Owner

@6543 commented on GitHub (Jan 13, 2020):

lets leave it open ...

@6543 commented on GitHub (Jan 13, 2020): lets leave it open ...
Author
Owner

@wxiaoguang commented on GitHub (Apr 25, 2023):

The editor problem has been fixed by latest editor refactoring PR

The wiki attachment problem is duplicate: #574

@wxiaoguang commented on GitHub (Apr 25, 2023): The editor problem has been fixed by latest editor refactoring PR The wiki attachment problem is duplicate: #574
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3346