MrHuangJser / neditor

A rich text editor aimed at running in Canvas.

Home Page:https://waisiukei.github.io/neditor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neditor

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

DEMO

waisiukei.github.io/neditor

preview

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/CanvasKis 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.

https://waisiukei.github.io/neditor/

License:MIT License


Languages

Language:TypeScript 99.3%Language:Vue 0.5%Language:HTML 0.1%Language:CSS 0.1%Language:JavaScript 0.0%