summernote-bricks icon indicating copy to clipboard operation
summernote-bricks copied to clipboard

Help! How to use it in Laravel?

Open tsyrya opened this issue 6 years ago • 5 comments

Please, provide an example of how to integrate it with Laravel. I've tried just compile it and put it in my js folder. But seems like the plugin looks for assets in a wrong directory. I've tried to set bricks_assets property, still doesn't work.

tsyrya avatar Jun 12 '18 07:06 tsyrya

Can you provide me with the source code and the console error messages?

eissasoubhi avatar Jun 12 '18 13:06 eissasoubhi

I found the reason. It was because of multiple instances of summernote on the page. It actually worked, but only with the last one.

tsyrya avatar Jun 13 '18 09:06 tsyrya

yeah, it should be just one instance present in the page, do you want it to work with multiple instances?

eissasoubhi avatar Jun 13 '18 09:06 eissasoubhi

yeah, that would be great :)

tsyrya avatar Jun 13 '18 13:06 tsyrya

Hi! I was also trying to set this up in my laravel app, but I can't get it to work. @eissasoubhi if it helps, this is the error messages I get in the console image

nunodonato avatar Jul 27 '21 14:07 nunodonato