Socket
Book a DemoInstallSign in
Socket

@edifice.io/tiptap-extensions

Package Overview
Dependencies
Maintainers
1
Versions
398
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edifice.io/tiptap-extensions

Edifice Rich Text Editor Extensions

latest
Source
npmnpm
Version
2.3.2
Version published
Maintainers
1
Created
Source

Edifice Rich Text Editor Extensions

npm bundlephobia

Extensions based on Tiptap Editor. Extends functionalities of the editor.

Prerequisites

  • pnpm: >= 9
  • node: >= 20

Getting Started

Install

pnpm add @edifice.io/tiptap-extensions

Imports

Global

import { Alert, Video } from "@edifice.io/tiptap-extensions"

Sub-imports

import { Alert } from "@edifice.io/tiptap-extensions/alert"

New extension

To create a new extension, please do as follow :

  • Create a subfolder in src with the name of the extension (e.g: my-extension)
my-extension
  • Create two files inside the new folder:
    • index.ts
    • my-extension.ts
my-extension
└── my-extension.ts
└── index.ts
  • Check one existing extension or refer to the official documentation to develop an extension.
  • Then, add your extension in the package.json sub-exports in alphabetical order.
"./my-extension": {
  "import": "./dist/my-extension/my-extension.js",
  "require": "./dist/my-extension/my-extension.cjs"
}
  • Run pnpm run build to generate a bundle
  • Test your extension before committing and pushing to remote

Keywords

edifice

FAQs

Package last updated on 19 Sep 2025

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