Add "key=value" placeholder to text tag editor textarea

This commit is contained in:
Quincy Morgan
2020-01-18 13:36:36 -05:00
parent 874acf8ccc
commit 6f2938b35e
2 changed files with 2 additions and 0 deletions

View File

@@ -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."

View File

@@ -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);