Skip to content

feat: structured content commands and helpers - #1037

Merged
harbournick merged 1 commit into
mainfrom
artem-SD-75
Sep 30, 2025
Merged

feat: structured content commands and helpers#1037
harbournick merged 1 commit into
mainfrom
artem-SD-75

Conversation

@artem-harbour

@artem-harbour artem-harbour commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

Linear ticket - SD-75.

Commands:

  • insertStructuredContentInline
  • insertStructuredContentBlock
  • updateStructuredContentById
  • deleteStructuredContent
  • deleteStructuredContentById
  • deleteStructuredContentAtSelection

Helpers:

  • getStructuredContentTags
  • getStructuredContentBlockTags
  • getStructuredContentInlineTags
  • getStructuredContentTagsById

Schema and import/export updates.

packages/super-editor/src/tests/editor/structuredContent.test.js - tests and usage examples.

@linear

linear Bot commented Sep 26, 2025

Copy link
Copy Markdown

@artem-harbour
artem-harbour force-pushed the artem-SD-75 branch 2 times, most recently from e7f2d83 to 69ad0a4 Compare September 29, 2025 15:38
@artem-harbour

Copy link
Copy Markdown
Contributor Author

@harbournick, can you review this PR?

@harbournick harbournick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Please make sure we document this API in SuperDoc docs!

@harbournick
harbournick merged commit 1acf705 into main Sep 30, 2025
7 checks passed
@harbournick
harbournick deleted the artem-SD-75 branch September 30, 2025 17:02
@harbournick

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.22.0-next.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

harbournick pushed a commit that referenced this pull request Sep 30, 2025
# [0.22.0](v0.21.0...v0.22.0) (2025-09-30)

### Bug Fixes

* context menu bypass standards ([#1029](#1029)) ([99e6bf7](99e6bf7))
* context menu bypass standards ([#1032](#1032)) ([8c80c2c](8c80c2c))
* do not track the annotation deletion on table generation ([#1036](#1036)) ([5e77dd4](5e77dd4))
* import/export of missing pict separators ([#1048](#1048)) ([8320a2c](8320a2c))
* losing selection on right click ([1e66343](1e66343))
* missing docx defaults from llm generated files ([#1030](#1030)) ([de7a2b2](de7a2b2))
* scope editor DOM queries to recover typing latency ([#1033](#1033)) ([7149090](7149090))
* tracked changes don't have corresponding comments ([#1045](#1045)) ([ebead1a](ebead1a))

### Features

* add MS Word fallback sizes to tables from LLM generated docx missing key data ([#1035](#1035)) ([850cc0b](850cc0b))
* **menu:** add custom context menu items functionality ([#988](#988)) ([57e77d9](57e77d9))
* structured content commands ([#1037](#1037)) ([1acf705](1acf705))
@harbournick

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 0.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants