Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !7965

Closed
Created Oct 05, 2014 by Administrator@rootOwner
  • Report abuse
Report abuse

Also show diff tab while editing blob with preview [failure unrelated]

  • Overview 8
  • Commits 1
  • Changes 10

Created by: cirosantilli

Before this PR, you cannot see the diff if the blob you are editing has a preview, like Markdown: the Diff button would be replaced with Preview instead.

Now you can: both buttons have been split up. Diff always shows, and Preview only shows if there is a preview available.

The diff is equally useful whether there is preview or not.

Fixes: http://feedback.gitlab.com/forums/176466-general/suggestions/5855625-show-both-diff-and-preview-when-editing-markdown-f

screenshot from 2014-10-05 13 47 21 diff preview after

screenshot from 2014-10-05 13 51 20 edit preview diff

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/cirosantilli/md-show-diff