@intevation/tiptap-extension-office-paste
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

100

Version

0.0.4

License

MIT

Unpacked Size

378 kB

Total Files

21

Last publish

Collaborators

  • intevation-admin
  • bastianjoel