Socket
Socket
Sign inDemoInstall

@tiptap/extension-document

Package Overview
Dependencies
1
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-document


Version published
Weekly downloads
815K
decreased by-1.6%
Maintainers
4
Created
Weekly downloads
 

Package description

What is @tiptap/extension-document?

@tiptap/extension-document is an extension for the Tiptap editor, which is a highly customizable rich-text editor framework for the web. This extension provides the basic document structure for Tiptap, allowing you to define the root node of your editor's document schema.

What are @tiptap/extension-document's main functionalities?

Basic Document Structure

This feature allows you to define the basic structure of your document. The 'content' property specifies that the document can contain one or more block elements.

const Document = Document.extend({
  content: 'block+',
});

Custom Document Structure

This feature allows you to customize the document structure. In this example, the document must start with a heading followed by one or more block elements.

const CustomDocument = Document.extend({
  content: 'heading block+',
});

Other packages similar to @tiptap/extension-document

Changelog

Source

2.1.14 (2024-01-08)

Bug Fixes

  • typography: require spaces after divisions to not break date formats (#4696) (f6d7e00)

Readme

Source

@tiptap/extension-document

Version Downloads License Sponsor

Introduction

Tiptap is a headless wrapper around ProseMirror – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as New York Times, The Guardian or Atlassian.

Official Documentation

Documentation can be found on the Tiptap website.

License

Tiptap is open sourced software licensed under the MIT license.

Keywords

FAQs

Last updated on 08 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc