Feature/recipe instructions improvements (#785)

* feat(frontend):  split paragraph by 1. 1) or 1: regex matches

* feat(frontend):  Update frontend to support ingredient To step refs

* feat(backend):  Update backend to support ingredient to step refs

* fix title editor

* move about info to site-settings

* update change-log

Co-authored-by: Hayden K <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-11-05 15:48:10 -08:00
committed by GitHub
parent 9f8c61a75a
commit 5cb4a1ade0
22 changed files with 621 additions and 210 deletions

View File

@@ -12,7 +12,7 @@
v-on="$listeners"
@click="download ? downloadFile() : undefined"
>
<v-icon left>
<v-icon v-if="!iconRight" left>
<slot name="icon">
{{ btnAttrs.icon }}
</slot>
@@ -20,6 +20,11 @@
<slot name="default">
{{ btnAttrs.text }}
</slot>
<v-icon v-if="iconRight" right>
<slot name="icon">
{{ btnAttrs.icon }}
</slot>
</v-icon>
</v-btn>
</template>
@@ -96,6 +101,10 @@ export default {
type: String,
default: null,
},
iconRight: {
type: Boolean,
default: false,
},
},
setup() {
const api = useApiSingleton();