Skip to content

Commit

Permalink
added diff merge
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Nov 28, 2021
1 parent af8bb02 commit 3f69534
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ module.exports = function(grunt) {
"codemirror/js/codemirror.min.js",
],
dest: "codemirror/js/codemirror.min.js"
},
mergeAddon: {
src: [
"codemirror/js/addon/merge/merge.js",
],
dest: "codemirror/js/codemirror.addon.merge.min.js"
},
modeBBCode: {
src: [
Expand Down Expand Up @@ -303,6 +309,7 @@ module.exports = function(grunt) {
"codemirror/js/addon/dialog/dialog.css",
"codemirror/js/addon/hint/show-hint.css",
"codemirror/js/addon/fold/foldgutter.css",
"codemirror/js/addon/merge/merge.css",
"codemirror/js/addon/search/matchesonscrollbar.css"
],
dest: "codemirror/css/codemirror.min.css"
Expand Down
6 changes: 5 additions & 1 deletion codemirror/css/codemirror.ckeditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,8 @@
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg==);
background-position: bottom left;
background-repeat: repeat-x;
}
}

.CodeMirror-merge-editor {
position: absolute;
left: 0;
2 changes: 1 addition & 1 deletion codemirror/css/codemirror.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions codemirror/js/codemirror.addon.merge.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3f69534

Please sign in to comment.