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 1
- # ui-date directive [ ![ Build Status] ( https://travis-ci.org/angular-ui/ui-tinymce.png )] ( https://travis-ci.org/angular-ui/ui-tinymce )
1
+ # ui-tinymce directive [ ![ Build Status] ( https://travis-ci.org/angular-ui/ui-tinymce.png )] ( https://travis-ci.org/angular-ui/ui-tinymce )
2
2
3
3
This directive allows you to add a TinyMCE editor to your form elements.
4
4
@@ -36,7 +36,7 @@ This will copy the ui-tinymce files into your `components` folder, along with it
36
36
<script type="text/javascript" src="components/angular/angular.js"></script>
37
37
<script type="text/javascript" src="components/angular-ui-tinymce/tinymce.js"></script>
38
38
39
- Add the date module as a dependency to your application module:
39
+ Add the tinymce module as a dependency to your application module:
40
40
41
41
var myAppModule = angular.module('MyApp', ['ui.tinymce'])
42
42
@@ -64,11 +64,11 @@ All the TinyMCE options can be passed through the directive.
64
64
65
65
## Working with ng-model
66
66
67
- The ui-date directive plays nicely with the ng-model directive such as ng-required.
67
+ The ui-tinymce directive plays nicely with the ng-model directive such as ng-required.
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
71
_ ng-model and the id are required_ .
72
72
73
- _ The ui-date directive stores and expects the model value to be a standard javascript Date object._
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