kommitters / editorjs-undo

Undo/Redo feature for Editor.js
https://www.npmjs.com/package/editorjs-undo
MIT License
165 stars 51 forks source link

Limit search scope to Editor (holder) only #208

Closed egg- closed 1 year ago

egg- commented 1 year ago

Close #207

Fixed an issue, when using multiple editors on one page, searching for other editors.

// as-is: document.querySelector("####");
this.holder.querySelector("####");
egg- commented 1 year ago

Hello @miguelnietoa , thanks for the comment.

I signed the commit. Please check and let me know if there are any issues.

Thank you.