-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Web editor indentation #11
Copy link
Copy link
Closed
Labels
issue/staletopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Metadata
Metadata
Assignees
Labels
issue/staletopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Type
Fields
Give feedbackNo fields configured for issues without a type.
Now with web editor working fine, I think that is necessary to set configurations by default or defined by user for better experience with web editor.
On PHP, javascript and I think that Go (Unknwon talk me if I'm wrong) we prefer 4 spaces indentation.
However, HTML and CSS developers normally prefer 2 spaces indentation. Have cases on other developers prefer tabulation instead spaces.
Because this I think that web editor can be configurable, one good example for this is on Bitbucket, you can set options in own editor.
Or this configuration can be defined on user settings on only on admin area.
What you think guys?
Reference: gogs/gogs#3460 (comment)
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38896626-web-editor-indentation?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).Reference: gogs/gogs#3610