Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wix-tiptap-editor

Package Overview
Dependencies
Maintainers
13
Versions
702
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wix-tiptap-editor

## Developer Guidelines

  • 10.84.0
  • npm
  • Socket score

Version published
Weekly downloads
621
increased by70.14%
Maintainers
13
Weekly downloads
 
Created
Source

wix-tiptap-editor

Developer Guidelines

These guidelines are written in blood of those who violate them.

Extension Locations

The core extensions (i.e. those which provide some basic editor functionality) should reside in wix-tiptap-extensions package. The Ricos plugin adapters for tiptap should reside in appropriate plugin packages.

Prose-mirror Plugins

Sometimes, it is necessary to implement a prose-mirror plugin as a part of extension. In this case, it is crucial to define key field (although it is not mandatory in prose-mirror Plugin API):

  new Plugin({

  ...

  key: new PluginKey('my-extension'),
  ...
  })

Missing keys potentially cause plugin key collisions in certain scenarios.

Tiptap Extension Reuse

If you want to use an existing tiptap extension in ricos, the extension code should be copied from tiptap into ricos codebase and transformed to RicosExtension format. Never consume 3rd party extension as npm dependency.

ricos/tiptap public types

All the tiptap-related public types should reside in ricos-types package. The wix-tiptap-editor or wix-tiptap-extensions should never be a dependency of ricos package. The tiptap-related public types should never be added to any ricos-* or wix-rich-content-* package.

Extension Versions

See package versions doc

FAQs

Package last updated on 08 Jul 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc