Skip to content

Commit 9d071b2

Browse files
jkjustjoshingNarretz
authored andcommitted
docs(ngModel): fix contenteditable description
contenteditable is supported in many more browsers than Angular itself is. http://caniuse.com/#feat=contenteditable Closes angular#11172
1 parent 7cfa79e commit 9d071b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/ngModel.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ is set to `true`. The parse error is stored in `ngModel.$error.parse`.
129129
* data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)
130130
* collaborate together to achieve the desired result.
131131
*
132-
* Note that `contenteditable` is an HTML5 attribute, which tells the browser to let the element
133-
* contents be edited in place by the user. This will not work on older browsers.
132+
* `contenteditable` is an HTML5 attribute, which tells the browser to let the element
133+
* contents be edited in place by the user.
134134
*
135135
* We are using the {@link ng.service:$sce $sce} service here and include the {@link ngSanitize $sanitize}
136136
* module to automatically remove "bad" content like inline event listener (e.g. `<span onclick="...">`).

0 commit comments

Comments
 (0)