Skip to content

refactor(paragraph): extract paragraph block tool into standalone package#158

Merged
Reversean merged 1 commit into
mainfrom
refactor/extract-paragraph-tool
Jul 13, 2026
Merged

refactor(paragraph): extract paragraph block tool into standalone package#158
Reversean merged 1 commit into
mainfrom
refactor/extract-paragraph-tool

Conversation

@Reversean

@Reversean Reversean commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move the built-in Paragraph block tool out of @editorjs/core into its own publishable package, @editorjs/paragraph, versioned independently like sdk, model, and dom-adapters.
  • Pure relocation — the tool's source has no relative imports into core internals, so behavior is unchanged. core now depends on the new package as a workspace dependency.

Comment on lines +12 to +20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Run ESLint check
uses: ./.github/actions/lint
with:
package-name: '@editorjs/paragraph'

build:
Comment on lines +21 to +27
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build the package
uses: ./.github/actions/build
with:
package-name: '@editorjs/paragraph'
@Reversean Reversean force-pushed the refactor/extract-paragraph-tool branch 2 times, most recently from 9f45838 to 9df114e Compare July 2, 2026 16:57
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Unit Tests

Package Coverage Delta
@editorjs/core 89.55% 0% ⚪️

Mutation Tests

Package Mutation score Dashboard URL
@editorjs/core 0.00% 🔴 Dashboard

Comment thread packages/tools/paragraph/package.json Outdated
…kage

Move the built-in Paragraph block tool out of core into its own
publishable package, @editorjs/paragraph, versioned independently
like sdk, model and dom-adapters.

The source has no relative imports into core internals, so this is
a plain relocation — core now depends on it as a workspace package.

Initial version is 3.0.0.
@Reversean Reversean force-pushed the refactor/extract-paragraph-tool branch from 3427780 to a7e970d Compare July 13, 2026 21:33
@Reversean Reversean added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit f08d70c Jul 13, 2026
45 checks passed
@Reversean Reversean deleted the refactor/extract-paragraph-tool branch July 13, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants