You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I think it would be a good idea to create some provider for this module to allow for some default behaviour for all instances of Summernote. For now every time you want to put some config you have to copy-paste it to every instance, it would be much better to typically merge some settings from provider(mostly thinking about some global handlers for events like for example save or paste) with the ones passed to directive to allow for some global configuration. What do you think ?
The text was updated successfully, but these errors were encountered:
It looks good idea, but I'm considering what interfaces it should expose and how it should support.
Did you see such kind of directive you said in other project?
Most likely it should expose the way to create some global actions for certain events. In my case it would be just perfect if I would be able to make some action every time the text is pasted into the editor, no matter which one. For now I would have to find every single instance of Summernote in my project and manually add handlers for that. With providers I could just configure it via provider and forget about it.
Hi!
I think it would be a good idea to create some provider for this module to allow for some default behaviour for all instances of Summernote. For now every time you want to put some config you have to copy-paste it to every instance, it would be much better to typically merge some settings from provider(mostly thinking about some global handlers for events like for example save or paste) with the ones passed to directive to allow for some global configuration. What do you think ?
The text was updated successfully, but these errors were encountered: