Skip to content

Commit

Permalink
fix: remove customstyle button and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianGille committed Oct 17, 2023
1 parent 12397a3 commit 4f3d576
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/editor/src/js/converter/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,20 +416,6 @@ var _propEditor = function (
model._blockDescription +
'</div>';
}

/* CUSTOM STYLE */
if (hasCustomStyle) {
html +=
'<label class="data-boolean blockCheck" data-bind="tooltips: { }">';
html +=
'<input type="checkbox" value="nothing" data-bind="focusable: true, checked: customStyle" />';
html +=
'<span title="Switch between global and block level styles editing" data-bind="attr: { title: $root.t(\'Switch between global and block level styles editing\') }" class="checkbox-replacer checkbox-replacer-onoff"></span>'; // data-bind="tooltip: { content: \'personalizza tutti\' }"
html += '</label>';
html +=
"<!-- ko template: { name: 'customstyle', if: customStyle } --><!-- /ko -->";
}

if (typeof prop != 'undefined') {
html += '<!-- ko with: ' + prop + ' -->';

Expand Down Expand Up @@ -622,8 +608,6 @@ var _propEditor = function (
) {
var bindings = [];

if (typeof globalStyleProp != 'undefined')
bindings.push('css: { notnull: ' + prop + '() !== null }');
title =
model !== null && typeof model._help !== 'undefined'
? ' title="' +
Expand All @@ -639,7 +623,6 @@ var _propEditor = function (
: '';
html +=
'<div class="propEditor ' +
(checkboxes ? 'checkboxes' : '') +
'"' +
bind +
'>';
Expand Down

0 comments on commit 4f3d576

Please sign in to comment.