mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Add mechanism for fields to support editing during multiselection (re: #7276)
Add `utilCombinedTags` method and use it for the raw tag editor as well as fields Pass `entityIDs` array into fields instead of single `entity` object Give field revertion its own path separate from `change` Add multiselection editing to fields in files: access, address, check, combo, cycleway, input, maxspeed, textarea, and wikidata
This commit is contained in:
+13
-3
@@ -220,6 +220,11 @@ input[type="radio"] {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
input.mixed::placeholder,
|
||||
textarea.mixed::placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
table {
|
||||
background-color: #fff;
|
||||
@@ -1591,6 +1596,11 @@ a.hide-toggle {
|
||||
z-index: 3000;
|
||||
cursor: grabbing;
|
||||
}
|
||||
.form-field-input-multicombo li.mixed {
|
||||
border-color: #eff2f7;
|
||||
color: #888;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.form-field-input-multicombo li.chip span {
|
||||
display: block;
|
||||
@@ -1708,6 +1718,9 @@ a.hide-toggle {
|
||||
.form-field-input-check > span {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.form-field-input-check > span.mixed {
|
||||
font-style: italic;
|
||||
}
|
||||
.form-field-input-check > .reverser.button {
|
||||
flex: 0 1 auto;
|
||||
background-color: #eff2f7;
|
||||
@@ -2371,9 +2384,6 @@ button.raw-tag-option svg.icon {
|
||||
[dir='rtl'] .tag-row input.value {
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
.tag-row input.value.conflicting::placeholder {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.tag-row:first-child input.key {
|
||||
border-top: 1px solid #ccc;
|
||||
|
||||
Reference in New Issue
Block a user