Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Unable to edit contenteditable blocks #201

Closed
HugoHeneault opened this issue Nov 11, 2020 · 1 comment
Closed

Unable to edit contenteditable blocks #201

HugoHeneault opened this issue Nov 11, 2020 · 1 comment
Labels

Comments

@HugoHeneault
Copy link

Hi there! Thanks for your Vue plugin :-)

On moveable home page we can edit the moveable block content with an contenteditable="true" attribute.
Using this attribute on the vue-moveable doesn't work... until we right click the block and then it becomes editable.

See

<template>
   <Moveable
        class="moveable"
        v-bind="moveable"
        @drag="handleDrag"
        @resize="handleResize"
        @scale="handleScale"
        @rotate="handleRotate"
        @warp="handleWarp"
      >
        <span contenteditable="true">Vue Moveable</span>
      </Moveable>
</template>

Demo here :
https://codesandbox.io/s/vue-moveable-issue-84-forked-ojmhj?file=/src/App.vue:308-365

Here is the expected behavior: https://daybrush.com/moveable/

Any idea on how I could fix this out?

Thanks!

@HugoHeneault HugoHeneault changed the title Unable to use contenteditable blocks Unable to edit contenteditable blocks Nov 11, 2020
russ added a commit to russ/vue-moveable that referenced this issue Nov 11, 2020
@probil probil closed this as completed in 8ca8b14 Dec 4, 2020
@github-actions
Copy link

github-actions bot commented Dec 4, 2020

🎉 This issue has been resolved in version 1.8.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant