mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-19 01:23:25 +00:00
Add "key=value" placeholder to text tag editor textarea
This commit is contained in:
@@ -557,6 +557,7 @@ en:
|
||||
edit_reference: "edit/translate"
|
||||
wiki_reference: View documentation
|
||||
wiki_en_reference: View documentation in English
|
||||
key_value: "key=value"
|
||||
multiple_values: Multiple Values
|
||||
hidden_preset:
|
||||
manual: "{features} are hidden. Enable them in the Map Data pane."
|
||||
|
||||
@@ -139,6 +139,7 @@ export function uiRawTagEditor(context) {
|
||||
.append('textarea')
|
||||
.attr('class', 'tag-text' + (_tagView !== 'text' ? ' hide' : ''))
|
||||
.call(utilNoAuto)
|
||||
.attr('placeholder', t('inspector.key_value'))
|
||||
.attr('spellcheck', 'false')
|
||||
.merge(textarea);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user