[doc] Make non-nullable renderGrouped's returned dom #33

Merged
pocke merged 1 commit from Make_non_nullable_renderGrouped_s_returned__dom_ into master 2021-09-13 09:44:35 +02:00
pocke commented 2021-09-13 09:33:31 +02:00 (Migrated from github.com)

Actually dom of renderGrouped's returned value is always non-null because the result variable is initialized with document.createDocumentFragment() and result is the dom.
However, the documentation says it is nullable.

This patch fixes the documentation.

Actually `dom` of renderGrouped's returned value is always non-null because the `result` variable is initialized with `document.createDocumentFragment()` and `result` is the `dom`. However, the documentation says it is nullable. This patch fixes the documentation.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-menu!33
No description provided.