This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ We use [bower](http://twitter.github.com/bower/) for dependency management. Add
26
26
"angular-ui-tinymce": "latest"
27
27
}
28
28
29
- To your ` components .json` file. Then run
29
+ To your ` bower .json` file. Then run
30
30
31
31
bower install
32
32
@@ -43,7 +43,7 @@ Add the tinymce module as a dependency to your application module:
43
43
Apply the directive to your form elements:
44
44
45
45
<form method="post">
46
- <textarea id="tinymce" ui-tinymce ng-model="tinymceModel"></textarea>
46
+ <textarea ui-tinymce ng-model="tinymceModel"></textarea>
47
47
</form>
48
48
49
49
## Options
@@ -59,7 +59,7 @@ All the TinyMCE options can be passed through the directive.
59
59
});
60
60
61
61
<form method="post">
62
- <textarea id="tinymce" ui-tinymce ng-model="tinymceModel"></textarea>
62
+ <textarea ui-tinymce ng-model="tinymceModel"></textarea>
63
63
</form>
64
64
65
65
## Working with ng-model
@@ -68,7 +68,7 @@ The ui-tinymce directive plays nicely with the ng-model directive such as ng-req
68
68
69
69
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.
70
70
71
- _ ng-model and the id are required _ .
71
+ _ ng-model _ .
72
72
73
73
_ The ui-tinymce directive stores and expects the model value to be a standard javascript tinymce object._
74
74
You can’t perform that action at this time.
0 commit comments