Обновлена логика центральных блоков: теперь поддерживается несколько блоков
This commit is contained in:
@@ -993,7 +993,7 @@ function treePropertiesDiv() {
|
||||
inputHtml = `<input type="text" value="${value}" style="font-size: inherit;" readonly disabled>`;
|
||||
} else if (key.toLowerCase() === "plugins") {
|
||||
let plugins = (value || '').split(',');
|
||||
let allPlugins = ['dgrm','SvgEditorM'];
|
||||
let allPlugins = ['dgrm','SvgEditorM', 'form_editor'];
|
||||
inputHtml = allPlugins.map(p =>
|
||||
`<label><input type="checkbox" value="${p}"${plugins.includes(p)?' checked':''}>${p}</label>`
|
||||
).join(' ');
|
||||
|
||||
Reference in New Issue
Block a user