Code Monkey home page Code Monkey logo

poe's People

Contributors

mrschism avatar ryanriffle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poe's Issues

Suggestion - Line Numbers

I'd like to see line numbers added as a toggleable option. It would add to the flexibility of the app.

If you don't want to add it, it'll take me a while to do (as I've got zero experience with CoffeeScript). I'm assuming the work would be entirely in the Line.coffee file, but again... not 100% certain.

In the long run, I hope to have the lines be somewhat dynamic... showing the last line number with content having a highlight and (if possible) the current working line with a different numeric color.

Thoughts?

Empty Words cause PDF to fail

If the document contains an emtpy word, making PDF generation fail because the pdf does not know about the font that the word uses. A hack to fix it would be to check for those before trying to add them to the pdf. A better fix would be to find out how and where the words are not getting removed.

Using browser provided selection with ranges is buggy

Right now Poe uses Tim Down's Rangy library for handling selections but there is a bug by using that and it doesn't seem like its going away anytime soon. When text is selected then the selected text is removed all seems ok, but when you start typing again the new text is then selected. Maybe I just don't understand ranges well enough but I have tried multiple different ways to correct this issue and none of them work aside from nulling out the range, but then the console fills up with error messages because the range is null until another selection is made.

TextBuffer Inconsistencies

The Poe.TextBuffer at some points during the edit process becomes inconsistent with what the user is actually seeing. It seems to happen after clicking somewhere in the document to move the cursor.

Removing Selection

If all of the text is selected, then removed with backspace or delete or by typing another character the cursor moves to the top left corner of the screen and breaks the app.

Font Dropdown shows 14.25 instead of 14

When typing with 14pt font size then pressing backspace, the font size changes to 14.25. This has to do with the way the actual font sizes are handled in Poe.TextStyle. The fix should be easy, check Poe.TextStyle.update and use Math.floor

[OS.js] Right alignment crashes application.

To reproduce, open Poe in OS.js click align right button, then type [shift] + [any letter]
Stack trace:
TypeError: Cannot read property 'position' of undefined
at Line.Poe.Line.Line.visiblyContains (http://localhost:8000/packages/default/Poe-OSjs/js/Line.js:40:23)
at TextCursor.Poe.TextCursor.TextCursor.doWordWrap (http://localhost:8000/packages/default/Poe-OSjs/js/TextCursor.js:239:22)
at TextCursor.Poe.TextCursor.TextCursor.handleInput (http://localhost:8000/packages/default/Poe-OSjs/js/TextCursor.js:547:12)
at HTMLTextAreaElement. (http://localhost:8000/packages/default/Poe-OSjs/js/TextCursor.js:16:63)
at HTMLTextAreaElement.jQuery.event.dispatch (http://localhost:8000/packages/default/Poe-OSjs/lib/jquery.js:4430:9)
at HTMLTextAreaElement.elemData.handle (http://localhost:8000/packages/default/Poe-OSjs/lib/jquery.js:4116:28)

Support to create a account

  • Username
  • Profile photo
  • Email
  • Password

You can use open-source distributed technology to store these data, such as a open-database or blockchain.

Copy & Paste

Provide copy and paste support. At a minimum be able to copy and paste text only without formatting.

[Feature] RTF

Be able to read and write a RTF document through OSjs vfs api. The reason this is needed is because RTF is a simple format compared to ODF and MS Word .docx. This will allow for at least basic usage of Poe.

Nested Lists

Nested lists need to be added, as noted by @MrSchism. Poe.TextCursor is the primary thing that might be blocking this.

New Paragraph

Pressing enter for a new paragraph inside a word puts the new paragraph after the word.

Text Color

There is a button for text color but it does not work. Make it work!

OS.js Integration

Needs to be integrated into OS.js project but only in a way that will still allow for it to be used without being completely dependent on that project (hopefully).

  • Get a window to show up with the editor
  • Create a common interface between OS.js toolbar and Poe's toolbar
  • Get OS.js toolbar working well, (fonts, colors, text and paragraph formatting)
  • PDF support in OS.js
  • Refactor Poe.Writer and Poe.FontManager to allow font lists instead or with the loading of .ttf

Ignores user's keyboard layout

As the title says: For me (German) this makes it impossible to enter äöü (Umlauts) as the app seems to be fixed onto a weird QWERTZ-English layout (why not QWERTY?).

Spaces in PDF

When a PDF is generated for a document it sometimes has a random space in between words. I believe it has to do with the Poe.TextCursor.handleClick somehow, because it seems the space is where the user clicked. Have to do some more reasearch. As a note: check the DOM and look for any irregularities.

More browsers

Right now webkit based browsers are the only ones that work correctly with the application. Figure out why firefox is acting funny and fix it. I do not have internet explorer so could somebody that does check it out?

Releases

  • Build releases and publish in this repo.
  • Give link in readme.md for download the latest release.

Dynamic Toolbar

Make the toolbar dynamic. Depending where the cursor is change the toolbar. For example if the toolbar is inside a table show buttons to add columns or rows. See the Writer concept by spiceofdesign for a example. It is linked to in the readme.

Print does not look like document

The printed document does not look like the document created. Update css/print.css to reflect new features, hopefully it will be possible to use only css.

Poor Javascript

I am not going to say that I hate javascript because it is messy, because most of that is probably my fault. However I am converting the project to coffeescript because its sterile and I like the taste.

Indentation

Indenting while cursor is inside a word puts the indent after the current word.

PDF doesn't show bullets

When generating a pdf with bulleted lists the text of the list item is shown without a bullet in front of it.

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.