BitPhinix / slate-yjs

Yjs binding for Slate
https://docs.slate-yjs.dev
MIT License
514 stars 73 forks source link

fix: use editor properties in plugin methods #360

Closed zarv1k closed 2 years ago

zarv1k commented 2 years ago

A few more fixes for editor properties usage in plugin's methods (like in #358)

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: c3c7a4428fd500a94796747537b87512d9ed3ca6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | -------------------------- | ----- | | @slate-yjs/core | Patch | | @slate-yjs/example-backend | Patch | | @slate-yjs/example | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 2 years ago

Codecov Report

Merging #360 (f0ed47f) into main (576b809) will not change coverage. The diff coverage is 0.00%.

:exclamation: Current head f0ed47f differs from pull request most recent head c3c7a44. Consider uploading reports for the commit c3c7a44 to get more accurate results

@@           Coverage Diff           @@
##             main     #360   +/-   ##
=======================================
  Coverage   71.31%   71.31%           
=======================================
  Files          30       30           
  Lines        2301     2301           
  Branches      297      297           
=======================================
  Hits         1641     1641           
  Misses        660      660           
Impacted Files Coverage Δ
packages/core/src/plugins/withCursors.ts 26.39% <0.00%> (ø)
packages/core/src/plugins/withYHistory.ts 22.40% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.