Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 812 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 812 Bytes

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.