froala / nova-froala-field

A Laravel Nova Froala WYSIWYG Editor Field.
MIT License
113 stars 46 forks source link

Custom Froala Buttons #29

Open dean123 opened 5 years ago

dean123 commented 5 years ago

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.

slavarazum commented 5 years ago

Currently, not supported. PRs welcome.

jkudish commented 5 years ago

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?

slavarazum commented 5 years ago

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

iaK commented 4 years ago

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

jkudish commented 4 years ago

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.

iaK commented 4 years ago

Okay, I understand. Thanks for answering.

slavarazum commented 4 years ago

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

desaintflorent commented 3 years ago

@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 ?

iaK commented 3 years ago

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