Releases: sjdemartini/mui-tiptap
Releases · sjdemartini/mui-tiptap
v1.15.0
What's Changed
- Expose
sx
prop onControlledBubbleMenu
,LinkBubbleMenu
, andTableBubbleMenu
to allow for more easy/direct style customization by @sjdemartini in #303
Internal-only changes (no changes to those who install mui-tiptap, just changes for contributors)
- Bump cross-spawn from 7.0.3 to 7.0.5 by @dependabot in #292
- Bump node via nvm version and @types/node to v22 (internally) by @sjdemartini in #293
- Upgrade eslint from v8 to v9, and refine its usage by @sjdemartini in #294, #295, #301
- Upgrade cspell to latest (v6 -> v8) by @sjdemartini in #296
- Upgrade vitest to v2 (and bump related deps) by @sjdemartini in #297
- Bump pnpm version to latest (9.12.1 -> 9.13.2) by @sjdemartini in #298
Full Changelog: v1.14.0...v1.15.0
v1.14.0
What's Changed
- Ensure popper/bubble menus appear above modals by default, in case editor is rendered inside a modal in #291. Two "breaking" changes to support this:
- The z-index for the bubble menus (
ControlledBubbleMenu
,LinkBubbleMenu
,TableBubbleMenu
) and poppers (ColorPickerPopper
viaMenuButtonHighlightColor
andMenuButtonTextColor
) will now betheme.zIndex.tooltip
- The
Z_INDEXES
object (exported frommui-tiptap
) removes theBUBBLE_MENU
key/value. You should instead referencetheme.zIndex.tooltip
to get the z-index used for the bubble menus, as mui-tiptap does not define the value internally.
- The z-index for the bubble menus (
Full Changelog: v1.13.0...v1.14.0
v1.13.0
What's Changed
- Allow relative and anchor links in link edit menu, and allow users to override link-formatting behavior by @sjdemartini in #288. Changes:
- The default behavior of the
LinkBubbleMenu
editing is to do the following to the user-entered URL when they finish typing:- trim leading/trailing whitespace (unchanged)
- ensure the value has a protocol (http://) if it doesn't already and isn't a relative (starting with "/") or anchor (starting with "#") URL (change in behavior)
- Change: We now accept relative URLs starting with "/" and anchor links starting with "#" (resolves #275)
- Change: We now also accept
sms:
as a valid protocol, like we did formailto:
andtel:
before
- URL-encode the result (unchanged)
- The input field is now of type
text
instead ofurl
to support relative URLs. So it will be less strict in enforcing URL formatting. LinkBubbleMenu
now has aformatHref
prop which can be used to override the above link-formatting behavior and provide custom functionality (resolves #182).
- The default behavior of the
- Internal development version bumps for Vite, pnpm, etc
Full Changelog: v1.12.0...v1.13.0
v1.12.0
What's Changed
- Remove
type: "commonjs"
in package.json to fix importingmui-tiptap
in NextJS context, by @sjdemartini in #270. Resolves import issues that showed up formui-tiptap
versions 1.9.6-1.11.0 (#264), specifically when used with NextJS.
Full Changelog: v1.11.0...v1.12.0
v1.11.0
v1.10.0
What's Changed
- Update
RichTextEditor
to updateref
handle only wheneditor
changes by @firatoezcan in #261 - Allow hiding tooltip shortcuts for
MenuSelectHeading
withhideShortcuts
prop by @firatoezcan in #262
New Contributors
- @firatoezcan made their first contribution in #261
Full Changelog: v1.9.6...v1.10.0
v1.9.6
What's Changed
- Force node to use CommonJS to get around dependency import errors with ESM in #259
Full Changelog: v1.9.5...v1.9.6
v1.9.5
What's Changed
-
Update
RichTextReadOnly
types to support Tiptap 2.5+ options by @sjdemartini in #251, like was done forRichTextEditor
in mui-tiptap v1.9.4. Example:<RichTextReadOnly content={content} extensions={extensions} immediatelyRender />
Full Changelog: v1.9.4...v1.9.5
v1.9.4
What's Changed
-
Update
RichTextEditor
types to support new Tiptap 2.5+ React-specific options (https://tiptap.dev/blog/release-notes/say-hello-to-tiptap-2-5-our-most-performant-editor-yet) by @sjdemartini in #250. Older versions of Tiptap are still supported. For Tiptap 2.5+ users, you can specify these new options like:<RichTextEditor extensions={[]} immediatelyRender />
Full Changelog: v1.9.3...v1.9.4