yjs / y-prosemirror

ProseMirror editor binding for Yjs

Home Page:https://demos.yjs.dev/prosemirror/prosemirror.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage of console.log in lib.js

drdrwhite opened this issue · comments

  • [ arguably ] Are you reporting a bug?
  • [ X ] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/

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

  • Browser / Node.js [e.g. Chrome, Firefox, Node.js]
  • Yjs version and the versions of the y-* modules you are using [e.g. yjs v13.0.1, y-webrtc v1.2.1]. Use npm ls yjs to find out the exact version you are using.

Chrome
HEAD @ 7b7ea52
y-prosemirror@1.0.16

Additional context
N/A

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