Skip to content

common-note/core

Repository files navigation

common-cursor

Introduction

Common-Cursor is a library that better control the cursor in the editable HTML node.

see tests for usage examples.

Development

Clone the repository

git clone https://github.com/ohno/common-cursor.git

Setup

Install the dependencies:

pnpm install

Get Started

Build the library:

pnpm build

Build the library in watch mode:

cd document
pnpm dev

pnpm config set registry https://registry.npmjs.org pnpm config set registry http://mirrors.cloud.tencent.com/npm/