@feugene/granularity-editor

Rich text as a design-system field: a TipTap-backed editor with the toolbar and the states of the rest of the form.

version
0.3.1
Public subpaths
9
Components
1
Runtime dependencies
0

How the package describes itself on npm: Rich-text editing for @feugene/granularity: a TipTap-backed GrRichText field with a design-system toolbar.

Installation

The command installs the package and its required peer dependencies: the library does not bring them, because your application already has them.

npm i @feugene/granularity-editor @feugene/granularity @feugene/unocss-preset-granular @tiptap/core @tiptap/extensions @tiptap/pm @tiptap/starter-kit vue
pnpm add @feugene/granularity-editor @feugene/granularity @feugene/unocss-preset-granular @tiptap/core @tiptap/extensions @tiptap/pm @tiptap/starter-kit vue
yarn add @feugene/granularity-editor @feugene/granularity @feugene/unocss-preset-granular @tiptap/core @tiptap/extensions @tiptap/pm @tiptap/starter-kit vue
bun add @feugene/granularity-editor @feugene/granularity @feugene/unocss-preset-granular @tiptap/core @tiptap/extensions @tiptap/pm @tiptap/starter-kit vue

Optional peer dependencies

Declared optional: they are needed only by the part of the package that uses them. Your package manager will not remind you about them.

  • @feugene/fint-i18n
  • @feugene/unplugin-granularity
  • unplugin-vue-components

What is inside

The manifest declares 9 entry points — importing through them is what keeps the bundle free of what you did not use.

No runtime dependencies: only the code of the package itself reaches your application.

Components

Package documentation

Written in the library repository. The portal links to it rather than retelling it.