Fix text-area type, support for newlines in key substitutions (fix #543), small tweaks to etymology-theme (fix #537)

This commit is contained in:
Pieter Vander Vennet 2021-11-07 18:37:42 +01:00
parent 7839712deb
commit fdb769a0fc
6 changed files with 19 additions and 10 deletions

View file

@ -48,6 +48,9 @@ export default class TagRenderingConfig {
this.render = null;
this.question = null;
this.condition = null;
this.id = "questions"
this.group = ""
return;
}

View file

@ -66,12 +66,6 @@ export default class WithContextLoader {
if (renderingJson["builtin"] !== undefined) {
const renderingId = renderingJson["builtin"]
if (renderingId === "questions") {
if (readOnly) {
throw `A tagrendering has a question, but asking a question does not make sense here: is it a title icon or a geojson-layer? ${context}. The offending tagrendering is ${JSON.stringify(
renderingJson
)}`;
}
const tr = new TagRenderingConfig("questions", context);
renderings.push(tr)
continue;