GithubHelp home page GithubHelp logo

jauco / writo Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 516 KB

A word processor written in Javascript

Home Page: http://jauco.github.com/Writo

License: GNU Affero General Public License v3.0

JavaScript 100.00%

writo's Introduction

Writo

Writo is an web-page based text editor.

What writo should be:

A word processor that supports you in writing large documents that are both a product and a process, such as a thesis or a functional spec. The software should allow you to write and rewrite and faithfully store your data. Allowing you to backtrack and to re-read that paragraph you wrote two months ago, but scrapped sometime since. It should also relieve you of the need to format the document. You should be able to describe what you want to say. Presentation comes after.

What writo currently is

A javascript object that handles keypresses and creates a DOM structure. I.E. if you type characters they will appear on the screen. Also a full undo stack is saved. So turning the pc off and on will leave you exactly where you were. Even if you have a power outage.

Advanced commands can be constructed. For example: pressing numeric keys before executing a command will execute the command that many times (9 will delete 9 characters)

A remark about the implementation

Writo is supposed to be run in FireFox 3.5. I have made no provisions for other browsers and used several features of which I know that IE doesn't support them.

More information on writo can be found in documentation.html

writo's People

Contributors

jauco avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

galexcode

writo's Issues

Add by word modifier

Add macro command that executes the current command until a word boundary is hit.

Add more classes

Add way of adding classes by name. Also show classes that are applied to paragraph. Implement the following styles:

  • Quote
  • Title
  • heading 1-4

Add paragraphs with fieldset

Allow the user to define a paragraph template that can then be used in the document. The template contains the dictionary enumeration and lets the user pre-fill the labels. Each time a paragraph is constructed based on the template the fields are copied over to the paragraph and the user can fill in the body texts. The user is also able to append new labels. Removing labels from the template will leave them in the paragraphs based on the template.

Allow undo stack serialization

Currently the undo state is lost when you close writo.

  1. add hooks to (de)serialize the undo stack.
  2. Add bugs for all commands that don't support proper serialization

Add enumerated lists

Add numbered lists, alphabetic lists, bulleted lists and dictionary lists (a sentence as heading and a text as body)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.