Skip to content

refactor(italic): extract italic inline tool into standalone package#160

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

refactor(italic): extract italic inline tool into standalone package#160
Reversean merged 1 commit into
mainfrom
refactor/extract-italic-tool

Conversation

@Reversean

Copy link
Copy Markdown
Contributor

Summary

  • Move the built-in Italic inline tool out of @editorjs/core into its own publishable package, @editorjs/italic, continuing the same split applied to Paragraph and Bold.
  • 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.

Stacked on #159 (bold).

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Unit Tests

Package Coverage Delta
@editorjs/core 89.55% 0% ⚪️
@editorjs/ot-server N/A N/A
@editorjs/model-types N/A N/A
@editorjs/dom-adapters N/A N/A
@editorjs/collaboration-manager N/A N/A

Mutation Tests

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

@Reversean Reversean force-pushed the refactor/extract-italic-tool branch from a934032 to ee7f6ad Compare July 2, 2026 17:26
@Reversean Reversean force-pushed the refactor/extract-bold-tool branch from 60bdcfc to d8c72af Compare July 2, 2026 17:26
@Reversean Reversean force-pushed the refactor/extract-bold-tool branch from d8c72af to 8e65707 Compare July 6, 2026 20:11
@Reversean Reversean force-pushed the refactor/extract-italic-tool branch from ee7f6ad to 72864d1 Compare July 6, 2026 20:12
@Reversean Reversean force-pushed the refactor/extract-bold-tool branch from 8e65707 to 0d5920d Compare July 13, 2026 21:47
Base automatically changed from refactor/extract-bold-tool to main July 13, 2026 21:51
@Reversean Reversean force-pushed the refactor/extract-italic-tool branch from 72864d1 to fc084e7 Compare July 13, 2026 21:52
Comment thread .github/workflows/bold.yml Fixed
Comment thread .github/workflows/bold.yml Fixed
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/italic'

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/italic'
Move the built-in Italic inline tool out of @editorjs/core into its
own publishable package, @editorjs/italic, mirroring the Paragraph and
Bold extractions — the tool becomes independently versionable instead
of bundled inside the editor core.

No behavioral changes: the tool had no relative imports into core
internals, so it moves as-is and core now depends on it as a workspace
package.
@Reversean Reversean force-pushed the refactor/extract-italic-tool branch from fc084e7 to 5a3071a Compare July 13, 2026 21:53
@Reversean Reversean added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit bfc88ec Jul 13, 2026
49 checks passed
@Reversean Reversean deleted the refactor/extract-italic-tool branch July 13, 2026 21:58
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