Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortable with textareas #1

Closed
juliocorral opened this issue Nov 21, 2016 · 2 comments
Closed

Sortable with textareas #1

juliocorral opened this issue Nov 21, 2016 · 2 comments

Comments

@juliocorral
Copy link

Hi,

I'm trying to sort several textareas inside a form using your plugin. I've a administration panel and users can add textareas dinamically.
I need users to sort the textareas and keep them editable. Could you send and example on Codepen or JSfiddle. When I use the plugin textareas don´t be editable.

Thank you in advance!!

@aewebsolutions
Copy link
Owner

Hi!
See options: https://github.com/aewebsolutions/clayfy#draggable-1
You have to wrap your textarea and exclude it with not option.

<div class="wrapper">
    <textarea></textarea>
</div>
$('.wrapper').clayfy({not: 'textarea'});

Some part of wrapper element must be visible to user, because only wrapper will be draggable (not its child textarea)

@juliocorral
Copy link
Author

Thank you!!!!

2016-11-21 17:49 GMT+01:00 aewebsolutions notifications@github.com:

Hi!
See options: https://github.com/aewebsolutions/clayfy#draggable-1
You have to wrap your textarea and exclude it with not option.

<textarea></textarea>

$('.wrapper').clayfy({not: 'textarea'});

Some part of wrapper element must be visible to user, because only wrapper
will be draggable (not its child textarea)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL8UbaDiihHicAlKZUgC_9CLpbwNAZBks5rAcubgaJpZM4K4YnM
.

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

No branches or pull requests

2 participants