Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit ae4c76a

Browse files
committed
Update README.md
1 parent 5cbd0ca commit ae4c76a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We use [bower](http://twitter.github.com/bower/) for dependency management. Add
2626
"angular-ui-tinymce": "latest"
2727
}
2828

29-
To your `components.json` file. Then run
29+
To your `bower.json` file. Then run
3030

3131
bower install
3232

@@ -43,7 +43,7 @@ Add the tinymce module as a dependency to your application module:
4343
Apply the directive to your form elements:
4444

4545
<form method="post">
46-
<textarea id="tinymce" ui-tinymce ng-model="tinymceModel"></textarea>
46+
<textarea ui-tinymce ng-model="tinymceModel"></textarea>
4747
</form>
4848

4949
## Options
@@ -59,7 +59,7 @@ All the TinyMCE options can be passed through the directive.
5959
});
6060

6161
<form method="post">
62-
<textarea id="tinymce" ui-tinymce ng-model="tinymceModel"></textarea>
62+
<textarea ui-tinymce ng-model="tinymceModel"></textarea>
6363
</form>
6464

6565
## Working with ng-model
@@ -68,7 +68,7 @@ The ui-tinymce directive plays nicely with the ng-model directive such as ng-req
6868

6969
If you add the ng-model directive to same the element as ui-tinymce then the text in the editor is automatically synchronized with the model value.
7070

71-
_ng-model and the id are required_.
71+
_ng-model_.
7272

7373
_The ui-tinymce directive stores and expects the model value to be a standard javascript tinymce object._
7474

0 commit comments

Comments
 (0)