block list prevalue corrections
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@
|
||||
entityType: "file",
|
||||
isDialog: true,
|
||||
filter: function (i) {
|
||||
return (i.name.indexOf(".jpg") !== -1 || i.name.indexOf(".jpeg") !== -1 || i.name.indexOf(".png") !== -1 || i.name.indexOf(".svg") !== -1 || i.name.indexOf(".webp") !== -1 || i.name.indexOf(".gif") !== -1);
|
||||
return !(i.name.indexOf(".jpg") !== -1 || i.name.indexOf(".jpeg") !== -1 || i.name.indexOf(".png") !== -1 || i.name.indexOf(".svg") !== -1 || i.name.indexOf(".webp") !== -1 || i.name.indexOf(".gif") !== -1);
|
||||
},
|
||||
select: function (file) {
|
||||
block.thumbnail = file.name;
|
||||
|
||||
+3
-3
@@ -18,7 +18,7 @@
|
||||
<div class="umb-group-panel">
|
||||
|
||||
<div class="umb-group-panel__header">
|
||||
<localize key="blockEditor_headlineBlockAppearance">Block appearance</div>
|
||||
<localize key="blockEditor_headlineBlockAppearance">Block appearance</localize>
|
||||
</div>
|
||||
|
||||
<div class="umb-group-panel__content">
|
||||
@@ -75,7 +75,7 @@
|
||||
<div class="umb-group-panel">
|
||||
|
||||
<div class="umb-group-panel__header">
|
||||
<localize key="blockEditor_headlineDataModels">Data Models</div>
|
||||
<localize key="blockEditor_headlineDataModels">Data Models</localize>
|
||||
</div>
|
||||
|
||||
<div class="umb-group-panel__content">
|
||||
@@ -147,7 +147,7 @@
|
||||
<div class="umb-group-panel">
|
||||
|
||||
<div class="umb-group-panel__header">
|
||||
<localize key="blockEditor_headlineShowcase">Showcase</div>
|
||||
<localize key="blockEditor_headlineShowcase">Showcase</localize>
|
||||
</div>
|
||||
|
||||
<div class="umb-group-panel__content">
|
||||
|
||||
@@ -54,8 +54,11 @@ namespace Umbraco.Web.PropertyEditors
|
||||
public string EditorSize { get; set; }
|
||||
}
|
||||
|
||||
[ConfigurationField("useInlineEditingAsDefault", "Inline editing mode", "boolean", Description = "Use the inline editor as the default block view")]
|
||||
[ConfigurationField("useInlineEditingAsDefault", "Inline editing mode", "boolean", Description = "Use the inline editor as the default block view.")]
|
||||
public bool UseInlineEditingAsDefault { get; set; }
|
||||
|
||||
[ConfigurationField("propertyWidth", "Property editor width", "textstring", Description = "optional css overwrite, example: 800px or 100%")]
|
||||
public string propertyWidth { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user