Skip to content

Releases: steven-tey/novel

[email protected]

[email protected]

11 Feb 10:33
Compare
Choose a tag to compare

[email protected]

11 Feb 10:33
Compare
Choose a tag to compare

Breaking Changes

Import Path Changes

Removed markdown extension from default extensions.
All imports now come directly from novel instead of separate paths:

  • import { Editor } from "novel/editor"
    import { SlashCommand } from "novel/extensions"
    import { ImageResizer } from "novel/plugins"
  • import { Editor, SlashCommand, ImageResizer } from "novel"

Affected Imports

The following import paths have been consolidated:

  • novel/editor
  • novel/extensions
  • novel/plugins
  • novel/ui
  • novel/styles
  • novel/lib

All exports

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/[email protected]@1.0.0

[email protected]

25 Jul 22:16
7f3e00d
Compare
Choose a tag to compare

Breaking Changes

  • simpleExtensions is no longer exported, instead you have to configure each extension manually
Screenshot 2024-07-26 at 01 15 54

What's Changed

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/[email protected]@0.5.0

[email protected]

20 Jun 20:10
746cf43
Compare
Choose a tag to compare

What's Changed

  • Feat: Specify Element to which Slash Commands are Added by @missingsemicolononline8 in #400
  • feature: add twitter extension by @cristianrdu in #407

New Contributors

  • @missingsemicolononline8 made their first contribution in #400
  • @cristianrdu made their first contribution in #407

Full Changelog: https://github.com/steven-tey/novel/compare/[email protected]@0.4.3

[email protected]

19 May 19:32
Compare
Choose a tag to compare

What's Changed

  • fix: codeblock-lowlight doesn't render in html output by @MODSetter in #395
  • bump tiptap-extension-global-drag-handle to latest

Full Changelog: https://github.com/steven-tey/novel/compare/[email protected]@0.4.2

[email protected]

17 May 09:04
Compare
Choose a tag to compare

Breaking Changes

  • getPrevText is now exported from novel/utils
- import { getPrevText } from "novel/extensions";
+ import { getPrevText } from "novel/utils";
  • drag handle has to be explicitly added to the extension array
+ import { GlobalDragHandle } from "novel/extensions";

const extensions = [..., GlobalDragHandle]

What's Changed

  • migrated eslint/prettier to biome
  • #370-fix-cannot-remove-a-selected-link-in-the-bubble-menu by @code-sharad in #374
  • feat: Added support for code blocks syntax highlighting by @ankuragrwl in #375
  • feat: Basic YT Embeds + CharCount Support by @MODSetter in #386
  • Image is deleted if an error occurs by @hernancito in #390
  • novel/utils exports a series of utils functions
//returns document content until a give position in doc
import { getPrevText} from "novel/utils";

const pos = editor.state.selection.from;
const text = getPrevText(editor, pos);
        

//returns document content as markdown string
import { getAllContent} from "novel/utils";

New Contributors

Full Changelog: https://github.com/steven-tey/novel/compare/[email protected]@0.4.1

[email protected]

30 Mar 14:01
Compare
Choose a tag to compare

[email protected]

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/[email protected]@0.3.0

[email protected]

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/[email protected]@0.2.13