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

@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
Comment thread README.md
Comment on lines 25 to +28
| [`@editorjs/paragraph`](packages/tools/paragraph) | Built-in Paragraph block tool |
| [`@editorjs/bold`](packages/tools/bold) | Built-in Bold inline tool |
| [`@editorjs/italic`](packages/tools/italic) | Built-in Italic inline tool |
| [`@editorjs/link`](packages/tools/link) | Built-in Link inline tool |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably better to add a separate section for tools/plugins

@Reversean Reversean Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok, moved all tool entries (including #158 #159 #160) in additional section.

Please, check this out.

@Reversean Reversean force-pushed the refactor/extract-italic-tool branch from ee7f6ad to 72864d1 Compare July 6, 2026 20:12
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-link-tool branch from 300592c to 5cfdc1c Compare July 6, 2026 20:14
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