Skip to content

A rich text editor aimed at running in Canvas.

License

Notifications You must be signed in to change notification settings

WaiSiuKei/neditor

Repository files navigation

neditor

a rich text editor on a port of Cobalt to JavaScript aimed at running in Canvas.

DEMO

waisiukei.github.io/neditor

screenshot

Goals

  • Produce a rich text editor in pure JavaScript that supports rendering to WebGL/Canvas contexts.
  • Develop a framework for prototyping CSS Houdini, HTML elements and attributes.

Contributing

Getting around the code

  • /packages/neditor/base This is utils functions.
  • /packages/neditor/canvas It holds codes of canvas core.
  • /packages/neditor/engine This is a port of Cobalt to JavaScript.
  • /packages/neditor/platform Vscode platform features.
  • /packages/neditor/workbench User interface and functionality extensions..
  • /third_party/css-parser This is a simple parser of HTML inline style.
  • /third_party/icu This is a port of ICU to Web.
  • /third_party/skia Loader of Skia/CanvasKit and its Typescript definations.

Building

Bootstrap

yarn

Dev

yarn start

Build

yarn build

License

MIT License

Copyright (c) 2020-2023 Waisiukei

About

A rich text editor aimed at running in Canvas.

Resources

License

Stars

Watchers

Forks

Languages