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

1.12 the new code editor is great, except for markdown. #12064

Open
TwoTwenty opened this issue Jun 26, 2020 · 12 comments
Open

1.12 the new code editor is great, except for markdown. #12064

TwoTwenty opened this issue Jun 26, 2020 · 12 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@TwoTwenty
Copy link

It would be cool if we could detect .md files and give slightly different context for the wysiwyg or use the old editor even.

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jun 27, 2020
@hrvoj3e
Copy link

hrvoj3e commented Jun 30, 2020

Preview mode is not available when creating new .md file in GUI.
Editing existing .md file show tabs edit, preview, changes.

@realpixelcode
Copy link

I saw this on Codeberg's Gitea instance and first I thought it was just a bug but it's obviously actually a feature which I hate. The old markdown editor was so great – there's no need to replace it!

@ashimokawa
Copy link
Contributor

As @TwoTwenty, I also think for markdown the new editor, and the old one was better.
Since the old one still exists for issues and issue comments, it would be better to also use it for markdown again.

One problem is still if someone wants to create a new file, there is not way of determining if this will be a markdown file or not in advance.

@realpixelcode
Copy link

One problem is still if someone wants to create a new file, there is not way of determining if this will be a markdown file or not in advance.

On Codeberg, the editor recognizes your file type as soon as you enter the file name like filename.md

@lafriks
Copy link
Member

lafriks commented Jul 1, 2020

Problem with old markdown editor that is not maintained anymore and has many bugs, especially on mobile devices

@MarionMoseby
Copy link

I must say I have never experienced any bug while using the markdown in mobile. Imho the new code editor is terrible for markdown and the old one should be brought one, as this one makes git more complicated for beginners

@lafriks
Copy link
Member

lafriks commented Jul 5, 2020

For example this issue #9658

@melroy89
Copy link
Contributor

melroy89 commented Sep 25, 2020

I really want to have a markdown editor on markdown files within the Git repo! At least for desktop PCs...

Please....! 🤙

EDIT: I call it almost a bug, rather than a proposal.

@IzzySoft
Copy link

TBH, both editors are going to kill me one day. None of the two permits copy/pasting via mouse (on Linux, middle-click pastes – which works everywhere but in Gitea – see #11216). With the old one, I destroyed a perfectly written paragraph more than once (as shift-home does not, as everywhere else, mark to the beginning of the line but to the beginning of the paragraph – and thus a quick mark-delete trashed it all; needless to say none of the two editors seems to have an Undo function for cases like that).

Luckily, I rarely use the WebIf to edit files… But I really wish there were a decent replacement for both.

@umutpiri
Copy link

I think there should be an option to use the old editor. The new editor is better for any file format except markdown.

@vincowl
Copy link

vincowl commented Nov 28, 2022

Hello
Any news on this subject ? Lacking a markdown editor for files like README.md is a pain and even more painfull while it is available for issues written in the same "language". If needed, I am ready to invest time if a gitea dev gives me some hints on the right way to implement it

@yp05327
Copy link
Contributor

yp05327 commented Sep 19, 2024

Preview mode is not available when creating new .md file in GUI. Editing existing .md file show tabs edit, preview, changes.

This is supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests