Merge pull request #203 from Chrissi2812/paste-on-embeds

fix pasting in embed example
This commit is contained in:
Philipp Kühn 2019-02-18 16:40:00 +01:00 committed by GitHub
commit 3de6b13004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ export default class Iframe extends Node {
template: `
<div class="iframe">
<iframe class="iframe__embed" :src="src"></iframe>
<input class="iframe__input" type="text" v-model="src" v-if="editable" />
<input class="iframe__input" @paste.stop type="text" v-model="src" v-if="editable" />
</div>
`,
}