File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ function myCtrl($scope){
7474 ' froalaEditor.initialized ' : function () {
7575 // Use the methods like this.
7676 $scope .froalaOptions .froalaEditor (' selection.get' );
77- }
7877 }
7978 }
79+ }
8080` ` `
8181### Events
8282
@@ -91,6 +91,7 @@ $scope.froalaOptions = {
9191 events : {
9292 ' froalaEditor.focus ' : function (e , editor ) {/* ... */ }
9393 }
94+ }
9495` ` `
9596
9697### Special tags
@@ -104,7 +105,7 @@ The model must be an object containing the attributes for your special tags. Exa
104105
105106` ` ` javascript
106107$scope .imgObj = {
107- src: ' path/to/image.jpg'
108+ src: ' path/to/image.jpg'
108109};
109110` ` `
110111
@@ -114,7 +115,7 @@ The ng-model will change as the attributes change during usage.
114115
115116` ` ` javascript
116117$scope .buttonObj = {
117- innerHTML: ' Button text'
118+ innerHTML: ' Button text'
118119};
119120` ` `
120121As the button text is modified by the editor, the **innerHTML** attribute from buttonObj model will be modified too.
@@ -125,7 +126,7 @@ As the button text is modified by the editor, the **innerHTML** attribute from b
125126
126127 ` ` ` javascript
127128$scope .inputOptions = {
128- angularIgnoreAttrs: [' class' , ' ng-model' , ' id' ]
129+ angularIgnoreAttrs: [' class' , ' ng-model' , ' id' ]
129130};
130131 ` ` `
131132
You can’t perform that action at this time.
0 commit comments