Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Editor for articles

Hello,

If you have used some sort of cms you know about the editors used there. Thay resemble word you can pout images on diferent places and wrap the text around them and so on. Im interested how i can use such editor in my laravel 5 application for the admin panel. Im unsure which one to use and how to safe the information from it in database.

1 Answer

Hello Kris,

There are many editors you can use http://ckeditor.com/ for example.

  • About saving data to your DB, you may build your custom validation rule to allow specific unharmable tags to be saved into your db.

http://laravel.com/docs/5.0/validation#custom-validation-rules

Thank you.

I ended up using ckeditor and it really did what I wanted.