fix(super-editor): correct SelectionSlice JSDoc insert example (SD-2921)#3086
Conversation
…921) The doc-API insert input takes value + type, not content. The example in SelectionSlice.selectionTarget JSDoc was stale and produced a type error if anyone copy-pasted it from IDE hover.
|
🎉 This PR is included in @superdoc-dev/mcp v0.3.0-next.33 The release is available on GitHub release |
|
🎉 This PR is included in @superdoc-dev/react v1.2.0-next.75 The release is available on GitHub release |
|
🎉 This PR is included in vscode-ext v2.3.0-next.77 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🎉 This PR is included in superdoc-sdk v1.8.0-next.37 |
|
🎉 This PR is included in superdoc-cli v0.9.0 The release is available on GitHub release |
|
🎉 This PR is included in superdoc v1.32.0 The release is available on GitHub release |
|
🎉 This PR is included in @superdoc-dev/mcp v0.4.0 The release is available on GitHub release |
|
🎉 This PR is included in @superdoc-dev/react v1.3.0 The release is available on GitHub release |
|
🎉 This PR is included in vscode-ext v2.4.0 |
|
🎉 This PR is included in superdoc-sdk v1.9.0 |
The example in
SelectionSlice.selectionTargetJSDoc still showed the pre-rename insert shape (content: 'Hello'). The doc-API takesvalue+type. Anyone copy-pasting it from IDE hover got a type error.