Skip to content

refactor(link): extract link inline tool into standalone package#161

Open
Reversean wants to merge 1 commit into
refactor/extract-italic-toolfrom
refactor/extract-link-tool
Open

refactor(link): extract link inline tool into standalone package#161
Reversean wants to merge 1 commit into
refactor/extract-italic-toolfrom
refactor/extract-link-tool

Conversation

@Reversean

Copy link
Copy Markdown
Contributor

Summary

  • Move the built-in Link inline tool out of @editorjs/core into its own publishable package, @editorjs/link, completing the split of all four built-in tools started with Paragraph.
  • 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, and no longer needs @editorjs/dom or @codexteam/icons directly (only the extracted tool packages use them now).

Stacked on #160 (italic).

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Unit Tests

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

Mutation Tests

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

Move the built-in Link inline tool out of @editorjs/core into its own
publishable package, @editorjs/link, completing the split of all four
built-in tools (paragraph, bold, italic, link) into independently
versionable packages under packages/tools.

This was the last tool living in core's internal tools folder, so the
now-empty tools/internal directory is removed along with core's
dependencies on @editorjs/dom and @codexteam/icons — both were only
ever used by the tools that have now moved out.
@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-link-tool branch from ddc6983 to 300592c Compare July 2, 2026 17:26
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.

1 participant