Open dolphinsd opened 5 years ago
For #2 to work add to config
angularIgnoreAttrs: ['style', 'ng-reflect-froala-editor', 'ng-reflect-froala-model'],
immediateAngularModelUpdate: true,
and use this.editor.codeView.isActive
for #3 to work download svg image from https://fontawesome.com/icons/magic?style=solid use iloveimg.com to resize it to 24x24 svg
Luck of documentation creates questions. Here is our transition pain, we cannot find answers:
We used to be able to cal this:1 this.editor('events.enableBlur'); What do we call now to enableBlur on the editor in angular ?
We used to call this: if (this.editor('codeView.isActive')) { this.innerValue = this.editor('codeView.get'); this.onChangeCallback(this.innerValue); } What do we call now in angular?
We used to define custom icon with fa5 like this: $.FroalaEditor.DefineIcon('insertContent', { FA5NAME: 'magic', NAME: 'magic'}); How do we define custom icon, we do not want to use one of your predefined svgs.