Solves tooltip issue for block column editor on remove block column editor option

(cherry picked from commit 393845ce4d)
This commit is contained in:
Aaron
2023-03-09 14:24:45 +00:00
committed by Sebastiaan Janssen
parent b8d6613bd8
commit 8a3cf2731e
2 changed files with 8 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
{{vm.columnSpanOption.columnSpan}}
</span>
<div class="__border"></div>
<button type="button" class="btn-reset" ng-click="vm.onClickRemove()">
<button type="button" ng-attr-title="{{vm.removeLabel}}" class="btn-reset" ng-click="vm.onClickRemove()">
<span class="sr-only">
<localize key="general_remove">Remove</localize>
</span>
@@ -23,4 +23,4 @@
</span>
</button>
</div>
</div>
</div>

View File

@@ -23,9 +23,13 @@
}
});
function BlockGridColumnOptionController() {
function BlockGridColumnOptionController(localizationService) {
var vm = this;
var vm = this;
localizationService.localize("general_remove").then(function (value) {
vm.removeLabel = value;
})
vm.$onInit = function() {