Skip to content

Releases: sjdemartini/mui-tiptap

v1.15.0

24 Nov 20:23
Compare
Choose a tag to compare

What's Changed

  • Expose sx prop on ControlledBubbleMenu, LinkBubbleMenu, and TableBubbleMenu 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)

Full Changelog: v1.14.0...v1.15.0

v1.14.0

16 Nov 19:46
Compare
Choose a tag to compare

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:
    1. The z-index for the bubble menus (ControlledBubbleMenu, LinkBubbleMenu, TableBubbleMenu) and poppers (ColorPickerPopper via MenuButtonHighlightColor and MenuButtonTextColor) will now be theme.zIndex.tooltip
    2. The Z_INDEXES object (exported from mui-tiptap) removes the BUBBLE_MENU key/value. You should instead reference theme.zIndex.tooltip to get the z-index used for the bubble menus, as mui-tiptap does not define the value internally.

Full Changelog: v1.13.0...v1.14.0

v1.13.0

06 Nov 22:52
Compare
Choose a tag to compare

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 for mailto: and tel: before
      • URL-encode the result (unchanged)
    • The input field is now of type text instead of url to support relative URLs. So it will be less strict in enforcing URL formatting.
    • LinkBubbleMenu now has a formatHref prop which can be used to override the above link-formatting behavior and provide custom functionality (resolves #182).
  • Internal development version bumps for Vite, pnpm, etc

Full Changelog: v1.12.0...v1.13.0

v1.12.0

15 Sep 17:28
Compare
Choose a tag to compare

What's Changed

  • Remove type: "commonjs" in package.json to fix importing mui-tiptap in NextJS context, by @sjdemartini in #270. Resolves import issues that showed up for mui-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

11 Sep 23:39
Compare
Choose a tag to compare

What's Changed

  • Expand peer dependency range to support MUI v6 (as well as MUI v5) by @Xhale1 in #267

New Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0

22 Aug 07:32
Compare
Choose a tag to compare

What's Changed

  • Update RichTextEditor to update ref handle only when editor changes by @firatoezcan in #261
  • Allow hiding tooltip shortcuts for MenuSelectHeading with hideShortcuts prop by @firatoezcan in #262

New Contributors

Full Changelog: v1.9.6...v1.10.0

v1.9.6

21 Aug 00:49
Compare
Choose a tag to compare

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

25 Jul 00:45
Compare
Choose a tag to compare

What's Changed

  • Update RichTextReadOnly types to support Tiptap 2.5+ options by @sjdemartini in #251, like was done for RichTextEditor in mui-tiptap v1.9.4. Example:

    <RichTextReadOnly
      content={content}
      extensions={extensions}
      immediatelyRender
    />

Full Changelog: v1.9.4...v1.9.5

v1.9.4

24 Jul 19:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.3...v1.9.4

v1.9.3

22 Jul 18:13
Compare
Choose a tag to compare

What's Changed

  • Fix bug in MenuSelectHeading where omitting H1 from Tiptap-configured heading levels prevents any heading from being selected (#228) by @mortmoe in #247

New Contributors

Full Changelog: v1.9.2...v1.9.3