Skip to content

Commit

Permalink
fix(code-editor): add missing xml parser for codemirror
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jan 19, 2018
1 parent 9f0e19d commit 1078c69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

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

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-editor",
"version": "3.3.0-rc.1",
"version": "3.3.0-rc.2",
"description": "WYSIWYG Editor for Angular Applications",
"license": "MIT",
"scripts": {
Expand Down Expand Up @@ -41,9 +41,7 @@
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"font-awesome": "^4.7.0",
"rxjs": "^5.5.2"
},
"dependencies": {
"rxjs": "^5.5.2",
"codemirror": "^5.33.0"
},
"devDependencies": {
Expand All @@ -65,6 +63,7 @@
"@types/node": "~6.0.60",
"bootstrap": "^4.0.0",
"codelyzer": "^4.0.1",
"codemirror": "^5.33.0",
"commitizen": "^2.9.6",
"core-js": "^2.4.1",
"cz-conventional-changelog": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/app/ngx-editor/ngx-editor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
} from '@angular/core';
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';
import * as CodeMirror from 'codemirror';
import 'codemirror/mode/xml/xml.js';

import { CommandExecutorService } from './common/services/command-executor.service';
import { MessageService } from './common/services/message.service';
Expand Down

0 comments on commit 1078c69

Please sign in to comment.