Skip to content

Releases: steven-tey/novel

novel@0.3.1

30 Mar 14:01
Compare
Choose a tag to compare

novel@0.3.0

29 Mar 08:47
0571973
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.13...novel@0.3.0

novel@0.2.13

18 Mar 19:16
9140b03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.12...novel@0.2.13

novel@0.2.12

11 Mar 14:31
c51b5ea
Compare
Choose a tag to compare

Breaking Changes

  • EditorCommandList has to directly wrap the EditorCommandItems (this is because of cmdk).
 <EditorCommandList>
      {suggestionItems.map((item) => (
        <EditorCommandItem>
          ....
        </EditorCommandItem>
      ))}
</EditorCommandList>

This change was made to support wrapping of EditorCommandList with custom components.

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.11...novel@0.2.12

novel@0.2.11

08 Mar 12:22
Compare
Choose a tag to compare

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.10...novel@0.2.11

What's Changed

  • feat: add ai features example by @andrewdoro in #297
  • Novel now exports a couple of utilities for dealing with AI cases:
//this extension is used for highlighting text for the AI
import { AIHighlight } from "novel/extensions";

//call this function when entering in AI mode to highlight current selection
import { addAIHighlight } from "novel/extensions";

//call this function when AI mode is no longer used
import { removeAIHighlight } from "novel/extensions";

//this function returns the current selection in Markdown
import { getPrevText } from "novel/extensions";

Implementation

You can see an example implementation
https://github.com/steven-tey/novel/tree/main/apps/web/components/tailwind/generative

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.10...novel@0.2.11

novel@0.2.9

07 Mar 12:10
7499182
Compare
Choose a tag to compare

## Update to 0.2.10, this version is missing type definitions

Breaking Changes

defaultEditorProps was removed from the library
It was broken into multiple functions that have to be passed in the editorProps.

  • handleImageDrop, handleImagePaste require a custom uploadFn for uploading images (See guide here)
import { handleImageDrop, handleImagePaste } from "novel/plugins";
import { handleCommandNavigation } from "novel/extensions";

<EditorContent
   editorProps={{
        handleDOMEvents: {
          keydown: (_view, event) => handleCommandNavigation(event),
        },
        handlePaste: (view, event) =>
          handleImagePaste(view, event, uploadFn),
        handleDrop: (view, event, _slice, moved) =>
          handleImageDrop(view, event, moved, uploadFn),
      
      }}

What's Changed

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.8...novel@0.2.9

novel@0.2.10

07 Mar 13:13
Compare
Choose a tag to compare

novel@0.2.8

05 Mar 22:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.7...novel@0.2.8

novel@0.2.7

27 Feb 18:26
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/steven-tey/novel/compare/0.2.6...novel@0.2.7

0.2.6

21 Feb 14:39
770cb70
Compare
Choose a tag to compare

What's Changed

  • fix: colection to collection by @braden-w in #299
  • fix: use per-editor instance of tunnel to render slash command popover by @miikebar in #305

New Contributors

Full Changelog: 0.2.4...0.2.6