ryanriffle / poe Goto Github PK
View Code? Open in Web Editor NEWA word processor built with HTML, CSS, and JavaScript
License: GNU General Public License v3.0
A word processor built with HTML, CSS, and JavaScript
License: GNU General Public License v3.0
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?
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.
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.
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.
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.
Need to add lists functionality to Poe.
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
Multi peers connected to a person, and show cursors with photo of each one in the document for a live co-work.
Add text alignment.
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)
You can use open-source distributed technology to store these data, such as a open-database or blockchain.
Provide copy and paste support. At a minimum be able to copy and paste text only without formatting.
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 need to be added, as noted by @MrSchism. Poe.TextCursor is the primary thing that might be blocking this.
Pressing enter for a new paragraph inside a word puts the new paragraph after the word.
Building Poe on Windows 8.1 (64-bit) doesn't result in a site that works properly. Tested on a node web server (via Brackets) and the python SimpleHTTPServer.
There is a button for text color but it does not work. Make it work!
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).
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?).
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.
http://www.ryanriffle.github.io/Poe/demo/app.html is currently throwing a 404 error.
When you open a new document and click on left align, or any other align button for that matter, the cursor moves down a line. It should not do that
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?
The newline and tab is not removed when hitting backspace.
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.
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.
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.
Indenting while cursor is inside a word puts the indent after the current word.
When generating a pdf with bulleted lists the text of the list item is shown without a bullet in front of it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.