Skip to content

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

Open
Reversean wants to merge 1 commit into
mainfrom
refactor/extract-paragraph-tool
Open

refactor(paragraph): extract paragraph block tool into standalone package#158
Reversean wants to merge 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

…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.
@Reversean Reversean force-pushed the refactor/extract-paragraph-tool branch from 9df114e to 2b786a9 Compare July 2, 2026 17:23
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.

2 participants