I have a CRM where users are able to send mail to customers. The mails is blade templates where the user can inject their content at specified positions in the template, for example:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
{{ $the_content }}
</body>
</html>
To help users to compose these emails I'm using CKEditor, but I'm looking for something more advanced to building up templates with layouts, and dynamic fields such as name etc.
I don't wan't to reinvent the wheel by building something from scratch and wonder if somebody know any existing solution?
Hello. You can use ckeditor with php, but you must to activate ckeditor to allow you to insert php code inside it.You can find an example on google. After that you can instal a plugin for ckeditor named html buttons. In this plugin you can defined your costom codes and the user can insert dynamicly the code pushing the respective button. You can defined a lot of buttons. Thanks for all
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community