Skip to content

Releases: Patternslib/pat-tiptap

Release 4.5.1

05 Sep 13:18

Choose a tag to compare

4.5.1 (2022-09-05)

Maintenance

Release 4.5.0

23 Aug 20:39

Choose a tag to compare

4.5.0 (2022-08-23)

Features

  • Allow to edit embeds. (7e665f6)

  • Allow to edit images with a image picker and support multiple tabs within the image picker dialogue. (95f9a05)

  • Allow to edit images. (da89fc1)

Maintenance

  • Add test for multiple tiptap instances sharing one toolbar. (50e5bfa)

  • Build: Include bundle name and version in generated files (Feature of @patternslib/dev 2.4.0.) (34b16e5)

  • Build: Unlink all linked dependencies before building a bundle. (a97c615)

  • Build: Upgrade dependencies. (25e93c4)

  • Change link context menu class to tiptap-link-menu to avoid potential same class as the trigger class for the link-panel pattern. (c5500e0)

  • Document and demo URL validation in link panel. (ce08c34)

  • Only open link context menu if it is defined. (46f9aeb)

  • Switch to base pattern based patterns. (83a51b5)Change internal patterns to be base pattern based for better integration in the patterns registry and usage of features like preventin double initialization on already initialized nodes.

Release 4.4.0

11 Aug 15:31

Choose a tag to compare

4.4.0 (2022-08-11)

Features

  • Add utils.is_url to test if a string is a URL. (28e197f)

  • Link panel: Try to correct invalid URLs. (72c25fd)If a URL was entered in the link panel but the protocol part was
    forgotten, prepend https:// to the URL.
    Relative URLs are kept as-is.

Maintenance

Release 4.3.0

17 Jul 21:41

Choose a tag to compare

4.3.0 (2022-07-17)

Features

  • Close context menu on ESC and outside click. (6de22c2)Always close context menu (link, mentions, tagging) when clicked outside or
    escape key was pressed.

  • When editing links and closing the link edit panel restore the cursor position to the position where we left. (2b00839)

Bug Fixes

  • Align to changes in pat-modal where pat-modal-ready is thrown only once and not on the initiating button but on the injected modal. (7011525)

  • Correct import of logger. (ee290e4)

  • Do not open the link context menu after opening the link editing panel. (f7d9e95)

  • Prevent double initialization of link and suggestion context menu patterns. (fbda4f6)

Maintenance

  • Demo: Add a link to the demo. (b424f19)

  • Demo: Mark focused element in red. (c969ade)

Release 4.2.0

11 Jul 12:56

Choose a tag to compare

4.2.0 (2022-07-11)

Features

  • Always include undo/redo functionality. (870b22c)This allows to use undo/redo via keyboard shortcuts even if undo/redo buttons are not shown.

Maintenance

  • Remove dependency on starter-kit and directly depend on all necessary extensions. Upgrade extensions. (0862192)

  • Upgrade @tiptap/core. (1aa4688)

  • Upgrade to @patternslib/dev 2.3.0. (b55cbc4)

Release 4.1.0

27 Jun 22:02

Choose a tag to compare

4.1.0 (2022-06-27)

Bug Fixes

  • Allow to share one toolbar with multiple tiptap instances. (86022a7)Fix an issue with a toolbar which is shared among multiple editor
    instances would invoke the command on each instance.
    Now you have to focus at least once the editor so that the toolbar will
    issue a command on it.
    When clicking a toolbar button, the last focused texteditor instance is
    used to issue to command on.
    To make sure that the toolbar will always invoke an action even without
    first clicking into a tiptap contenteditable area use pat-autofocus.

  • Fix demo index-many.html with many tiptap instances to use the correct bundle JavaScript. (6ca04b1)

  • Use known good versions for @tiptap until current issues with newer beta releases are resolved. (c9d5716)Newer versions break with: "RangeError: Adding different instances of a keyed plugin (plugin$)"

Maintenance

  • Upgrade to @patternslib/dev 2.2.0 and adapt module federation config. (603f12c)

Release 4.0.0

21 Jun 07:50

Choose a tag to compare

4.0.0 (2022-06-21)

Bug Fixes

  • Close the suggestion popup when clicking outside. (ca75099)

  • Update demo for correct bundle since we extend @patternslib/dev webpack config. (6c21285)

Maintenance

  • Remove console.log message in tests. (b82508c)

Release 4.0.0-alpha.1

15 Jun 07:17

Choose a tag to compare

Release 4.0.0-alpha.1 Pre-release
Pre-release

4.0.0-alpha.1 (2022-06-15)

Breaking Changes

  • Depend on @patternslib/dev and extend config from there. (c7989ac)

  • Extend babel config from @patternslib/dev. (b20800e)

  • Extend commitlint config from @patternslib/dev. (96ef27e)

  • Extend eslint config from @patternslib/dev. (6173108)

  • Extend jest config from @patternslib/dev. (f80ad63)

  • Extend Makefile from @patternslib/dev. (37e2c0c)

  • Extend prettier config from @patternslib/dev. (36daaf8)

  • Extend release-it config from @patternslib/dev. (17cea4b)

  • Extend webpack config from @patternslib/dev. (5c19f1a)

Maintenance

  • Build: Update GitHub actions setup. (a516f9b)

Release 4.0.0-alpha.0

14 Jun 15:04

Choose a tag to compare

Release 4.0.0-alpha.0 Pre-release
Pre-release

4.0.0-alpha.0 (2022-06-14)

Features

  • Build: Build module federation enabled bundles. (f7012d3)

Maintenance

  • Build: @patternslib/patternslib as peerDependency. (7dd2328)Move @patternslib/patternslib dependency to peerDependencies and set to any version to avoid version conflicts when this package is a dependency of another Patternslib based package.

  • Build: Add @patternslib/patternslib also to devDependencies so that we get it installed. (0e96688)

  • build: Add build:dev script to package.json to create a unminified development build. (d7a0cb2)

  • Build: Add keyword "patternslib" to package.json. (35e1714)

  • Build: Extend jest.config.js from Patternslib and reuse their setupTests file too. (f772a66)

  • Build: Makefile - Allow OTP when publishing to npm, build bundles and publish them on GitHub, add pre-release targets. (1a376cc)

  • Build: Remove dependency regenerator-runtime except from test setup. The async/await runtime handling is already built-in in current Babel. (c88b735)

  • Build: Upgrade and cleanup dependencies. (0558bfc)

  • Make core a little more efficient and don't overuse optional chaining where it's not needed. (f10b94a)

Release 3.4.1

24 Apr 21:45

Choose a tag to compare

3.4.1 (2022-04-24)

Bug Fixes

  • Suggestion: Do not break when trying to set a item active, but no results are available. (d222ebd)

  • Suggestion: Get whole suggestion text also when copying. (bdd12ac)
    Always get the text starting from the suggestion character to the end.
    Previously when copying a suggestion text into the text area, the text wasn't recognized and not used to filter down the items.