FIxed broken restore history on new URL bar
This commit is contained in:
@@ -6,11 +6,27 @@
|
|||||||
color: var(--ac-color);
|
color: var(--ac-color);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
.highlight-TEXT {
|
||||||
|
overflow: auto;
|
||||||
|
height: 20px;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.highlight-TEXT::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
|
import { type } from "os"
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
value: { type: String },
|
value: { type: String },
|
||||||
|
uri: { type: String },
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
uri(val) {
|
||||||
|
this.$refs.editor.textContent = val
|
||||||
|
this.updateEditor()
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$refs.editor.addEventListener("input", this.updateEditor)
|
this.$refs.editor.addEventListener("input", this.updateEditor)
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
@input="pathInputHandler"
|
@input="pathInputHandler"
|
||||||
/>
|
/>
|
||||||
<url-field v-model="uri" v-else />
|
<url-field v-model="uri" :uri="uri" v-else />
|
||||||
</li>
|
</li>
|
||||||
<li class="shrink">
|
<li class="shrink">
|
||||||
<label class="hide-on-small-screen" for="send"> </label>
|
<label class="hide-on-small-screen" for="send"> </label>
|
||||||
|
|||||||
Reference in New Issue
Block a user