yjs / y-prosemirror

ProseMirror editor binding for Yjs
https://demos.yjs.dev/prosemirror/prosemirror.html
MIT License
344 stars 119 forks source link

Usage of console.log in lib.js #100

Closed drdrwhite closed 2 years ago

drdrwhite commented 2 years ago

Describe the bug The main branch includes a console.log invocation in src/lib.js line 29

To Reproduce Steps to reproduce the behavior:

  1. Go to a website using y-prosemirror
  2. Open console
  3. See "testing what I wanted to test. lol Object"

Expected behavior Not sure if this is a bug, but seems unusual to ship console logs. Raising this for discussion.

Screenshots If applicable, add screenshots to help explain your problem.

Environment Information

Chrome HEAD @ 7b7ea52 y-prosemirror@1.0.16

Additional context N/A

dmonad commented 2 years ago

Oh no.. thank you for reporting! Fixed and published.