Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 14d6cbe

Browse files
committed
Update README.md
1 parent 71e05e7 commit 14d6cbe

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Finally, add the directive to your html,
3535
as attribute :
3636

3737
```html
38-
<textarea ui-codemirror></textarea>
39-
// or
38+
// Not well supported yet
39+
// <textarea ui-codemirror></textarea>
40+
4041
<div ui-codemirror></div>
4142
```
4243

@@ -64,8 +65,6 @@ myAppModule.controller('MyController', [ '$scope', function($scope) {
6465
If you update this variable with the new values, they will be merged and the ui will be updated.
6566

6667
```xml
67-
<textarea ui-codemirror="editorOptions" ng-model="x"></textarea>
68-
// or
6968
<ui-codemirror ui-codemirror-opts="editorOptions"></ui-codemirror>
7069
```
7170

@@ -84,7 +83,7 @@ If you apply the refresh directive to element then any change to do this scope v
8483
_The ui-refresh directive expects a scope variable that can be any thing...._
8584

8685
```html
87-
<textarea ui-codemirror ng-model="x" ui-refresh='isSomething'></textarea>
86+
<div ui-codemirror ng-model="x" ui-refresh='isSomething'></div>
8887
```
8988

9089
Now you can set the _isSomething_ in the controller scope.

0 commit comments

Comments
 (0)