release v1.16.0
This commit is contained in:
parent
cf3bc02ed7
commit
6074d4cde6
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue