Skip to content

Intevation/tiptap-extension-office-paste

Repository files navigation

Tiptap office paste extension

This extension fixes format of text copied from MS Office and pasted into the Tiptap editor.

Installing

npm i --save @intevation/tiptap-extension-office-paste

Features

  • Fixes lists
    • Convertes mso lists into actual html lists
    • Corrects list levels
    • Parse list type and start
  • Removes bookmark tags
  • Removes <o:p> tags
  • Converts mso styles
  • Removes black text color style

Usage

import OfficePaste from "@intevation/tiptap-extension-office-paste";

const editor = Editor({
    extensions: [
        StarterKit,
        OfficePaste
    ]
});

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published