@mixd-id/web-scaffold 0.1.230406334 → 0.1.230406335

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406334",
4
+ "version": "0.1.230406335",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -2,7 +2,7 @@
2
2
  <div :class="$style.comp">
3
3
 
4
4
  <div class="flex flex-row items-start">
5
- <p contenteditable="true" spellcheck="false" class="flex-1 whitespace-pre-line"
5
+ <p contenteditable="true" spellcheck="false" class="flex-1 whitespace-pre-wrap"
6
6
  ref="html"
7
7
  v-html="html"
8
8
  :class="itemClass"
@@ -15,7 +15,7 @@
15
15
  </button>
16
16
  </div>
17
17
 
18
- <div v-if="variant !== 'minimal'" class="flex flex-row bg-base-300">
18
+ <div v-if="variant !== 'minimal'" class="flex flex-row bg-base-300" @dblclick.alt="log(JSON.stringify(modelValue))">
19
19
  <div class="flex-1 flex flex-row gap-2 overflow-x-auto p-1" :class="$style.noScrollbar">
20
20
  <button type="button" v-for="item in viewedItems" :class="$style.tag2" class="text-xs" @click="add(item)">{{ item.text ?? item.value }}</button>
21
21
  </div>
@@ -202,7 +202,7 @@ export default{
202
202
  }
203
203
  }
204
204
 
205
- const text = arr.filter(_ => _).join('')
205
+ const text = arr.filter(_ => _).join('').trim()
206
206
 
207
207
  this.$emit('update:modelValue', text)
208
208