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

No support for contenteditable div #14

Open
waqasy opened this issue Dec 13, 2015 · 6 comments
Open

No support for contenteditable div #14

waqasy opened this issue Dec 13, 2015 · 6 comments

Comments

@waqasy
Copy link

waqasy commented Dec 13, 2015

I was trying to see if it works with contenteditable div. But it doesn't :(

@lodev09
Copy link
Owner

lodev09 commented Dec 14, 2015

nope sorry. I think we can tweak the plugin to support this.. this is just a matter of applying events and caret position calculation same with input/textarea elements but I couldn't do it anytime soon.

If you'd like to take a shot for it, you can freely submit a PR and we'll see if it works :)

@waqasy
Copy link
Author

waqasy commented Dec 14, 2015

Thanks. Surely. I'll look into it.

@aaronorosen
Copy link

I think if this is completed this will make this a lot more useful. I started working to add support for this. In addition we need to do the following:

el.val() -> el.text()
element.value -> element.textContent

trying to figure out how to get the position calculations working on the div contenteditable

@lodev09
Copy link
Owner

lodev09 commented Sep 6, 2016

Check this out

@golches
Copy link

golches commented Mar 25, 2017

no solution

@lodev09
Copy link
Owner

lodev09 commented Jan 6, 2019

this is too much for this simple plugin, closing this

@lodev09 lodev09 closed this as completed Jan 6, 2019
@lodev09 lodev09 reopened this Feb 17, 2019
@lodev09 lodev09 added this to the v2 milestone Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants