File tree Expand file tree Collapse file tree 3 files changed +6
-33
lines changed
Expand file tree Collapse file tree 3 files changed +6
-33
lines changed Original file line number Diff line number Diff line change 11# Code Editor
22
3- CodeMirror 6 wrapper for Angular
3+ [ ![ npm] ( https://img.shields.io/npm/v/@acrodata/code-editor.svg )] ( https://www.npmjs.com/package/@acrodata/code-editor )
4+ [ ![ license] ( https://img.shields.io/github/license/mashape/apistatus.svg )] ( https://github.com/acrodata/code-editor/blob/main/LICENSE )
5+
6+ CodeMirror6 wrapper for Angular
47
58## Installation
69
@@ -22,7 +25,7 @@ import { CodeEditor } from '@acrodata/code-editor';
2225 imports: [FormsModule , CodeEditor ],
2326})
2427export class YourAppComponent {
25- value = ' ' ;
28+ value = ' console.log("Hello world") ' ;
2629}
2730```
2831
Original file line number Diff line number Diff line change 1616 "lint:ts" : " eslint \" **/*.ts\" --fix" ,
1717 "lint:scss" : " stylelint \" **/*.scss\" --fix" ,
1818 "build:lib" : " ng build code-editor" ,
19+ "postbuild:lib" : " cp README.md dist/code-editor" ,
1920 "publish" : " npm run build:lib && cd dist/code-editor && npm publish" ,
2021 "predeploy" : " npm run build" ,
2122 "deploy" : " angular-cli-ghpages --no-silent --dir=dist/dev-app/browser" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments