nova-froala-field icon indicating copy to clipboard operation
nova-froala-field copied to clipboard

Custom Froala Buttons

Open dean123 opened this issue 5 years ago • 9 comments

Hello, is it possible to integrate Custom Buttons to the Froala Editor? https://github.com/froala/vue-froala-wysiwyg#custom-buttons

We need a button to insert custom HTML, but can't find the right place to add the Javascript snippet.

dean123 avatar Aug 19 '19 13:08 dean123

Currently, not supported. PRs welcome.

slavarazum avatar Aug 26 '19 18:08 slavarazum

I also need this! Can you point in the right direction as to how you'd implement this feature, and I can take a stab at a PR?

jkudish avatar Sep 04 '19 09:09 jkudish

I think at first we should find an appropriate place for calling FroalaEditor.RegisterCommand.

slavarazum avatar Sep 04 '19 14:09 slavarazum

@jkudish - How's it going with the PR? Need this functionality too, need any help?

iaK avatar Oct 08 '19 09:10 iaK

Unfortunately, I didn't work on it. My client wasn't willing to invest the money and I didn't have the time and energy to invest into a poorly documented open source project. I am unclear about how to proceed. Nothing's documented well, and I didn't feel there's enough direction/invitation to collaborate on this by the repo maintainers. No hate, I super appreciate this package, but would need more documentation and direction to work on this, rather than just shooting in the dark.

jkudish avatar Oct 08 '19 15:10 jkudish

Okay, I understand. Thanks for answering.

iaK avatar Oct 08 '19 18:10 iaK

@jkudish Could you please clarify, what exactly is not well documented? All package features are documented enough.

slavarazum avatar Oct 11 '19 19:10 slavarazum

@slavarazum any news on this functionality ? I'm thinking about using Froala for one of my project with nova but the possibility of integrated Custom Buttons is mandatory. Do you have any plan on implementing this in a future update ?

desaintflorent avatar Nov 27 '20 08:11 desaintflorent

I have made an attempt of making a clean version of this, but it seems impossible to me.

I've got a working but quite dirty version here: https://github.com/froala/nova-froala-field/pull/48

iaK avatar Nov 27 '20 11:11 iaK