abcjs
                                
                                 abcjs copied to clipboard
                                
                                    abcjs copied to clipboard
                            
                            
                            
                        [Feature Request] Add HTMLElement support for editArea parameter.
In interactive Editor Constructor, the editArea parameter only supports ID string and EditArea instance.
Is it possibile to add HTMLElement type support, I saw that other id-like parameters both supports it.
In my case, the element is descendant of a shadowDom, so it cann't be find by getElementById.
So you want to do something like:
const editArea = new abcjs.EditArea(element)
const editor = new abcjs.Editor(editArea)
That wouldn't be hard to do. I'll have it in the next version.
Yeah, thanks for your work.
This will be fixed in version 6.4.0
It works fine, thanks