File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ function myCtrl($scope){
7777 }
7878 }
7979 }
80+ }
8081```
8182### Events
8283
@@ -91,6 +92,7 @@ $scope.froalaOptions = {
9192 events : {
9293 ' froalaEditor.focus ' : function (e , editor ) {/* ... */ }
9394 }
95+ }
9496```
9597
9698### Special tags
@@ -104,7 +106,7 @@ The model must be an object containing the attributes for your special tags. Exa
104106
105107``` javascript
106108$scope .imgObj = {
107- src: ' path/to/image.jpg'
109+ src: ' path/to/image.jpg'
108110};
109111```
110112
@@ -114,7 +116,7 @@ The ng-model will change as the attributes change during usage.
114116
115117``` javascript
116118$scope .buttonObj = {
117- innerHTML: ' Button text'
119+ innerHTML: ' Button text'
118120};
119121```
120122As the button text is modified by the editor, the ** innerHTML** attribute from buttonObj model will be modified too.
@@ -125,7 +127,7 @@ As the button text is modified by the editor, the **innerHTML** attribute from b
125127
126128 ``` javascript
127129$scope .inputOptions = {
128- angularIgnoreAttrs: [' class' , ' ng-model' , ' id' ]
130+ angularIgnoreAttrs: [' class' , ' ng-model' , ' id' ]
129131};
130132 ```
131133
You can’t perform that action at this time.
0 commit comments