- Added twig sandbox to the user editable templates, and created own security policy
- Renamed the groups in the service provider
This release contains incompatible changes in the config file, you'd need to re-publish the configuration.
IMPORTANT: Please note that the command below will overwrite the existing config file with the default values. If you made changes to the configuration, create a backup of the file before running the command:
php artisan vendor:publish --provider="BWF\DocumentTemplates\DocumentTemplatesServiceProvider" --tag=config --force
- Added CKEditor
- Created placeholder plugin for CKEditor
This release contains changes in the Vue component, you'd need to re-publish the components and public.
IMPORTANT: Please note that the command below will overwrite the existing Vue component. If you made changes to the component, create a backup of the file before running the command:
php artisan vendor:publish --provider="BWF\DocumentTemplates\DocumentTemplatesServiceProvider" --tag=components --force
Publish the Ckeditor to the public:
php artisan vendor:publish --provider="BWF\DocumentTemplates\DocumentTemplatesServiceProvider" --tag=public --force
- Added support for rendering single editable template
- Created new MailTemplate trait, to support subject line rendering
- Add more toolbars to the ckeditor, including the source editing
- Use RMT (https://github.com/liip/RMT) for release management
- Change the editable templates content field to text
- Fix the ckeditor save issue when editing in source mode
- Fix the multiplication of the span element after save
- Added document-templates.js it does all the necessary initialisations (ckeditor/component/etc)
- ServiceProvider publishes ckeditor and document-templates.js
- Add template mailable to support sending the document via email
- Allow placeholder insert in source view in Ckeditor
- Add support to set the document template model in config file
- Add support to set the base url in the config file
- Correct the route model binding, use interface instead of model in the controller