JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q58649F

Package Exports

  • @nextlint/core
  • @nextlint/core/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nextlint/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Introduce

Headless editor with pre-existing plugins. Use by @nextlint/svelte

Setup

Nextlint core with written in pure typescript, Can you nextlint core with any frontend framework you like.

In this example we create a test-editor vanilla project using vite:

pnpm create vite
cd test-editor
pnpm add @nextlint/core

Setup editor:

<div id="editor" />

<script>
  import {createEditor} from '@nextlint/core';
  const editor = createEditor({
    element: document.getElementById('editor'),
    content: '',
    placeholder: 'Start writing...'
  });
</script>

Contributing