Skip to content

Commit

Permalink
Clarify use of clipboardSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Feb 8, 2022
1 parent 8f246f3 commit 089aa9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,10 @@ function checkStateComponent(plugin) {
// The DOM serializer to use when putting content onto the
// clipboard. If not given, the result of
// [`DOMSerializer.fromSchema`](#model.DOMSerializer^fromSchema)
// will be used.
// will be used. This object will only have its
// [`serializeFragment`](#model.DOMSerializer.serializeFragment)
// method called, and you may provide an alternative object type
// implementing a compatible method.
//
// clipboardTextSerializer:: ?(Slice) → string
// A function that will be called to get the text for the current
Expand Down

0 comments on commit 089aa9b

Please sign in to comment.