jaredreich / jaredreich/pell

Hi ! There's way to get div id on onChange event ?

Open
#203 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
546
PR merge metrics
No merged PRs in 30d

Description

Hi,
There's way to obtain div id on onChange event ?
i use this thing

`for(var i = 0; i < elements.length; i++){
this.pellConfig.element = elements[i];
this.pellConfig.onChange = function(e){
console.log(e);
}
pell.init(this.pellConfig)
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names pell.init and the onChange callback as the relevant entry points. Trace what the callback receives and how each configured element is retained, then determine the supported way to identify the originating div. Done means users can reliably associate an onChange event with the correct initialized editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.