app/frontend/editor/components/kit/link-input.vue in maglevcms-1.5.1 vs app/frontend/editor/components/kit/link-input.vue in maglevcms-1.6.0

- old
+ new

@@ -1,12 +1,13 @@ <template> <div> - <label class="block font-semibold text-gray-800" :for="name"> + <div class="block font-semibold text-gray-800" @click="focus()"> {{ label }} - </label> + </div> <uikit-text-input + :name="name" v-model="textInput" :showLabel="false" :placeholder="$t('linkInput.nestedTextPlaceholder')" :isFocused="isFocused" class="mt-2" @@ -80,9 +81,12 @@ this.$emit('input', { ...this.value, text }) }, }, }, methods: { + focus() { + this.openLinkPickerModal() + }, setLink(link) { this.$emit('input', { ...pick( link, 'linkType',