st-h / ember-content-editable

A contenteditable component for ember-cli that just works™
MIT License
66 stars 31 forks source link

Is it possible to make the tagname of the contentEditable variable? #113

Open anneties opened 2 years ago

anneties commented 2 years ago

The addon is always loading a contentEditable as a

but would be nice to be able to change this to a or other html tags.

I would like to put it in a span for example, because of the inline-block property wins I would get out of it. (only changing it with css does not always change the way the browser interacts with it's content.

st-h commented 2 years ago

Sorry about the late reply. Yes, this would be possible. Please submit a PR and I'll be happy to merge it.