Skip to content

Releases: gravity-ui/markdown-editor

v10.2.2

26 Feb 14:31
a6d1cec
Compare
Choose a tag to compare

10.2.2 (2024-02-22)

Bug Fixes

  • Table: correct serialization of the table inside blockquote (#199) (9d27a3f)
  • YfmTabs: correct serialization of yfm-tabs inside blockqoute (#201) (e2f5d27)

v10.2.1

20 Feb 16:02
69344e3
Compare
Choose a tag to compare

10.2.1 (2024-02-20)

Bug Fixes

  • Math: allow to modify dom-attributes of math nodes (#197) (c7fd967)

v10.2.0

20 Feb 12:07
2615d21
Compare
Choose a tag to compare

10.2.0 (2024-02-20)

Features

  • adding a link to image when pasting a link on selected image node (#194) (c64dd68)
  • option to not highlighting active list button and toParagraph action improvement (#196) (35d0219)

v10.1.0

16 Feb 12:56
4d87af5
Compare
Choose a tag to compare

10.1.0 (2024-02-16)

Features

  • heading button that resets heading back to paragraph (#190) (475c879)
  • toolbar: add property to show custom hint when action is disabled (#193) (f08366a)
  • YfmCut: add border to editable yfm-cut nodes (#189) (03a1ad2)
  • YfmCut: improve the behavior when creating yfm-cut (#191) (67c2300)
  • YfmTabs: change text color of yfm-tabs tab placeholder (#192) (42be1aa)

Bug Fixes

v10.0.0

06 Feb 13:31
85769c1
Compare
Choose a tag to compare

10.0.0 (2024-02-06)

⚠ BREAKING CHANGES

  • feat!: use diplodoc/latex-extension instead of markdown-it-katex (#184)
    • added packages to peerDependencies: @diplodoc/latex-extension, katex, markdown-it
    • editor's Math extension now use @diplodoc/latex-extension instead of markdown-it-katex
    • Math extension removed from YfmPreset/YfmSpecsPreset and package root export
    • added options to Math extension

    Example of using a Math extension:

    import {Math} from '@doc-tools/yfm-editor/_/extensions/yfm/Math';
    
    // ...
    
    builder.use(Math, {
    // required
    loadRuntimeScript: async () => {
        await Promise.all([
        import('@diplodoc/latex-extension/runtime'),
        import('@diplodoc/latex-extension/runtime/styles'),
        ]);
    },
    // optional; if you need custom sanitizing
    sanitize: (html) => /* sanitize html */ html,
    // optional; options to be passed to katex
    katexOptions: {},
    });

Features

  • feat!: use diplodoc/latex-extension instead of markdown-it-katex (#184) (80ad40f)

Bug Fixes

v9.3.1

05 Feb 14:39
7365cf7
Compare
Choose a tag to compare

9.3.1 (2024-02-01)

Bug Fixes

v9.3.0

26 Jan 09:28
c7656ba
Compare
Choose a tag to compare

9.3.0 (2024-01-26)

Features

  • core: allow to parse blocks with noCloseToken=true with content from children tokens (#180) (d362717)

v9.2.0

25 Jan 15:22
d96b5a6
Compare
Choose a tag to compare

9.2.0 (2024-01-25)

Features

  • add re-export of markdown-it plugins (#179) (affd462)
  • added ability to pass marks to updateAttributes method of ReactNodeView (#177) (93e63de)

v9.1.1

29 Dec 09:38
3a62b9b
Compare
Choose a tag to compare

9.1.1 (2023-12-26)

Bug Fixes

  • update lint rules and remove import of lodash global object (#175) (64c83fb)

v9.1.0

21 Dec 11:24
5cf59e7
Compare
Choose a tag to compare

9.1.0 (2023-12-21)

Features