Skip to content

Commit a06ffc9

Browse files
Fix type for initControls.
1 parent ce0ab9d commit a06ffc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $scope.froalaOptions = {
9393
Sometimes you want to control when the Froala Editor will be instantiated. The directive includes a **froala-init** attributes which will provide you with the controls required to initialize and close the editor.
9494
9595
```html
96-
<div froala froala-init="myControllerFunction(initcontrols)"></div>
96+
<div froala froala-init="myControllerFunction(initControls)"></div>
9797
```
9898
9999
Where *MyControllerFunction* is the name of a function in your controller which will receive an object with different methods to control the editor initialization process. It is primordial that the name of the parameter be *initControls* otherwise your function will not receive the controls.

0 commit comments

Comments
 (0)