Skip to content

feat: re-export markdown-actions#106

Closed
pscanf wants to merge 1 commit into
panphora:mainfrom
superegodev:main
Closed

feat: re-export markdown-actions#106
pscanf wants to merge 1 commit into
panphora:mainfrom
superegodev:main

Conversation

@pscanf

@pscanf pscanf commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

As discussed in #105. (Closes #105.)

I didn't regenerate types and neither rebuilt the dist files to keep the diff clearer.


Summary by cubic

Re-exported markdown-actions from the main module as markdownActions to make custom toolbar implementations easier. Added TypeScript definitions for these actions.

  • New Features
    • Expose markdownActions via the package root (export * as markdownActions from 'markdown-actions').
    • Include typed API for markdownActions in the generated types.

Written for commit 2d93a27. Summary will update on new commits.

panphora pushed a commit that referenced this pull request May 2, 2026
, #106)

Adds `export * as markdownActions from 'markdown-actions'` to the package
root and matching TypeScript declarations covering toggleBold/Italic/Code,
insertLink, toggleBulletList/NumberedList/Quote/TaskList, insertHeader,
toggleH1/H2/H3, getActiveFormats, hasFormat, expandSelection, and
applyCustomFormat.

Removes the bundle-duplication tax for host apps that wanted to drive a
custom toolbar UI without re-installing markdown-actions alongside the
bundled copy already inside OverType.

Co-authored-by: pscanf <paolo.scanferla@gmail.com>
panphora added a commit that referenced this pull request May 2, 2026
Append focus/blur callback contribution (#107) to be5invis's existing
entry, and add a new entry for pscanf crediting the markdownActions
re-export (#105, #106). fab2713 (#94) and GregJohnStewart (#92) already
had these issues listed in their entries from prior credit cycles.
@panphora

panphora commented May 2, 2026

Copy link
Copy Markdown
Owner

Shipped in v2.3.8 via commit 78f6465 (cherry-picked the source-side changes from this PR; rebuilt dist/types locally rather than carrying them in the merge). Original authorship by @pscanf preserved on the resulting commit.

See #105 for the full announcement.

@panphora panphora closed this May 2, 2026
@pscanf

pscanf commented May 3, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

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.

Re-export the markdown-actions module

2 participants