release v1.16.0

This commit is contained in:
Simon Vieille 2022-09-06 12:06:33 +02:00
parent cf3bc02ed7
commit 6074d4cde6
Signed by: deblan
GPG key ID: 579388D585F70417
4 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,9 @@
## [Unreleased] ## [Unreleased]
## [1.16.0] - 2022-09-06
### Added ### Added
* Add A/B testing feature * add A/B testing feature
* add cleanup of html string extracted from grapesjs content
### Fixed ### Fixed
* fix file block type * fix file block type
### Changed ### Changed

View file

@ -71,7 +71,7 @@ const FormCollection = () => {
const item = collectionContainer.children('*[data-collection-item]:last-child') const item = collectionContainer.children('*[data-collection-item]:last-child')
const deleteBtn = $('<span data-collection-delete="__name__" class="fa fa-trash"></span>') const deleteBtn = $('<span data-collection-delete="__name__" class="fa fa-trash"></span>')
item.find('*[data-collection-delete-container]').first().append(deleteBtn) item.find('*[data-collection-delete-container]').first().prepend(deleteBtn)
item.html(item.html().replace(/__name__/g, name)) item.html(item.html().replace(/__name__/g, name))
item.attr('data-collection-item', name) item.attr('data-collection-item', name)

View file

@ -61,6 +61,7 @@
<div class="text-right"> <div class="text-right">
<span data-collection-delete-container class="btn btn-sm btn-danger"> <span data-collection-delete-container class="btn btn-sm btn-danger">
<span data-collection-delete="{{ loop.index }}"> <span data-collection-delete="{{ loop.index }}">
<span data-collection-delete="{{ loop.index }}" class="fa fa-trash"></span>
{{ label_delete|trans }} {{ label_delete|trans }}
</span> </span>
</span> </span>
@ -71,6 +72,7 @@
<div data-collection-add="collection-{{ collection_name }}" class="collection-add"> <div data-collection-add="collection-{{ collection_name }}" class="collection-add">
<span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}"> <span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}">
<span data-collection-add="collection-{{ collection_name }}" class="fa fa-plus"></span>
{{ label_add|trans }} {{ label_add|trans }}
</span> </span>
</div> </div>
@ -101,6 +103,7 @@
<div class="text-right"> <div class="text-right">
<span data-collection-delete-container class="btn btn-sm btn-danger"> <span data-collection-delete-container class="btn btn-sm btn-danger">
<span data-collection-delete="{{ loop.index }}"> <span data-collection-delete="{{ loop.index }}">
<span data-collection-delete="{{ loop.index }}" class="fa fa-trash"></span>
{{ label_delete|trans }} {{ label_delete|trans }}
</span> </span>
</span> </span>
@ -111,6 +114,7 @@
<div data-collection-add="collection-{{ collection_name }}" class="collection-add"> <div data-collection-add="collection-{{ collection_name }}" class="collection-add">
<span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}"> <span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}">
<span data-collection-add="collection-{{ collection_name }}" class="fa fa-plus"></span>
{{ label_add|trans }} {{ label_add|trans }}
</span> </span>
</div> </div>

View file

@ -43,6 +43,7 @@
</div> </div>
<div data-collection-add="collection-{{ collection_name }}" class="collection-add col-12"> <div data-collection-add="collection-{{ collection_name }}" class="collection-add col-12">
<span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}"> <span class="btn btn-sm btn-primary" data-collection-add="collection-{{ collection_name }}">
<span data-collection-add="collection-{{ collection_name }}" class="fa fa-plus"></span>
{{ label_add|trans }} {{ label_add|trans }}
</span> </span>
</div> </div>