Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Focus a demo editor [1] and inspect `document.activeElement` in the console. You'll get a parent div of the content whose `contentEditable` attribute is true.

[1]: https://docs.ckeditor.com/ckeditor5/latest/examples/builds/c...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: