Add blockArraysIn to renderSpec function, which is called from prosemirror-view #84

Closed
sjohnson18 wants to merge 3 commits from fix-prosemirror-view-renderSpec into master
sjohnson18 commented 2024-07-18 18:44:23 +02:00 (Migrated from github.com)

Adds blocksArraysIn parameter to the renderSpec() function in order to support the check for XSS on initial document load. A follow up PR in prosemirror-view will be created to support this change.

Adds `blocksArraysIn` parameter to the `renderSpec()` function in order to support the check for XSS on initial document load. A follow up [PR](https://github.com/ProseMirror/prosemirror-view/pull/169) in prosemirror-view will be created to support this change.
marijnh commented 2024-07-18 20:26:25 +02:00 (Migrated from github.com)

I don't really want to pollute the public types for this kludge. Attached patch uses TS overloads to 'cloak' the argument to the types.

I don't really want to pollute the public types for this kludge. Attached patch uses TS overloads to 'cloak' the argument to the types.

Pull request closed

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-model!84
No description provided.