-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Emoji Added to Hidden Input NOT to emojionearea-editor #456
Comments
Hi, can you create an example at jsfiddle? |
I don't think a jsfiddle would work for replicating this, too many variables and moving parts. I've removed all custom css for it and removed setting while binding and just flat out did a simple .emojioneArea() and still the same issue. I've tried both inline true and false, I've tried using a text input, textarea, hidden input, etc and nothing seems to matter. I do build the html with the input dynamically from js and append it to the dom but it's no different than what I was doing where it still works.
At this point I'm sure it's something we've done somewhere but there's sooooo many changes including element naming structures since the last time we actually tested this before realizing something was wrong it's going to take some time to pinpoint what's causing it. Was kind of hoping someone else has ran into this issue and would help direct me closer to where the issue could be without reverting to a couple of months ago and trying to slowly add all of the changes back in one by one. What throws me is I have no idea "how" emojionearea is actually adding the emoji image into the element. I assume via js doing some sort of "this.parent.find or this.next something or other" but maybe I'm way off. Oh well, I'll figure it out I'm sure, only question is how much time it's going to take. |
|
Maybe you call |
Well that was the first thing I though, searched all files in my IDE and no go. |
Sorry, cant help you without viewing the code. Judging by the fact that you are performing some manipulations with the picker, it is easier for you to make changes directly to the plugin code. |
I finally figured out the issue. I had to defer the emojionearea script so it loaded after other stuff. Guessing there was a conflict with the actual emojionearea script BuddyBoss itself uses. |
This was working fine but now the emoji image is being added to the hidden input that emojionearea is bound to instead of to the visible emojionearea-editor.
No errors, nothing seems wrong or out of place, it just adds it to the wrong place.
Any idea why?
The text was updated successfully, but these errors were encountered: