GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aliansyahFirdaus/windoc: Canvas-based document editor for web and React — pixel-perfect pagination, rich text, tables, and print support.

BranchesTags
Open more actions menu

Latest commit

 

History

175 Commits
175 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.github
.github
 
 
.husky
.husky
 
 
core
core
 
 
docs
docs
 
 
playground
playground
 
 
react
react
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.yarnrc.yml
.yarnrc.yml
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cliff.toml
cliff.toml
 
 
commitlint.config.mjs
commitlint.config.mjs
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Windoc — Canvas document editor for the web

npm npm License: MIT CI

Canvas-based document editor for the web. High-performance rendering via HTML5 Canvas with pixel-perfect pagination, rich text formatting, tables, images, and print support.

Packages

Package Description Version
@windoc/core Canvas editor engine 0.3.29
@windoc/react React bindings & composable UI 0.3.29

Getting Started

npm install @windoc/core @windoc/react
import { Editor } from '@windoc/react'
import '@windoc/core/style.css'
import '@windoc/react/style.css'

function App() {
  return (
    <Editor
      defaultValue={{ main: [{ value: 'Hello, Windoc!' }] }}
      options={{
        margins: [40, 40, 40, 40],
        placeholder: { data: 'Start typing...' },
      }}
      onReady={(editor) => console.log('Ready!', editor)}
    />
  )
}

Features

  • Canvas Rendering — Pixel-perfect document rendering via HTML5 Canvas
  • Pagination — Automatic page breaking with configurable sizes (A4, Letter, etc.)
  • Rich Text — Bold, italic, underline, strikeout, color, highlight, fonts
  • Tables — Merge/split cells, borders, row/column operations
  • Images — Inline images with resize, rotate, alignment
  • Headers & Footers — Per-page headers, footers, page numbers
  • Watermarks — Configurable text watermarks
  • Lists — Ordered and unordered lists
  • Print — Native print with accurate pagination
  • Composable UI — Mix and match toolbar/footer components or build your own
  • Extensible — Plugins, custom shortcuts, custom context menus

Development

yarn install
yarn build

To run the playground locally with live reload:

# Terminal 1 — watch core & react
yarn dev

# Terminal 2 — start playground
cd playground && yarn dev

Contributing

Contributions are welcome! Please read the Contributing Guide before opening a pull request.

License

MIT

About

Canvas-based document editor for web and React — pixel-perfect pagination, rich text, tables, and print support.

aliansyahfirdaus.github.io/windoc/

Topics

canvasdocument-editoreditorhtml5-canvaspaginationreactreact-editorrich-text-editortypescriptwysiwyg

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

9 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.