You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 2, 2018. It is now read-only.
I think that the width should only apply to document formats that are intended to be paginated, such as ODT and DOCX. Other formats, such as HTML and plain text, might not be improved by this change.
Your width suggestion appears to be the best approach for desktop devices. Mobile is more difficult. How do popular mobile word processors like Documents to Go and Microsoft Office implement this?
[UPDATE] Apparently, Documents to Go does not have a set page width or pagination.
Well, I'm not sure, it's just that any document at 1920px width looks awful. Also, often when you're writing a document, you want it to look exactly like this, and don't care about responsive design aficionados.
I guess it depends on our objective. If we want the HTML format to primarily be a "document" format, then the max-width is a good choice. For use cases like #214, the max-width might not be beneficial.
Somewhat relatedly, maybe we should put the max-width in the generated html file.
Additionally, we may want to provide two different html "formats": document (max-width, etc...) and developer (vanilla HTML). And, we might want to put these into templates so that we don't have to include them in the JS.
Activity
ferndot commentedon Dec 3, 2014
I think that the width should only apply to document formats that are intended to be paginated, such as ODT and DOCX. Other formats, such as HTML and plain text, might not be improved by this change.
Your
widthsuggestion appears to be the best approach for desktop devices. Mobile is more difficult. How do popular mobile word processors like Documents to Go and Microsoft Office implement this?[UPDATE] Apparently, Documents to Go does not have a set page width or pagination.
twiss commentedon Dec 3, 2014
Google Docs, Microsoft Office Mobile, Zoho Docs and Quip all also don't have a
width, except Zoho Docs in read mode (i.e. before you press "edit").ferndot commentedon Dec 3, 2014
So,
max-widthmight be the best approach.twiss commentedon Dec 3, 2014
Notes about #241:
ferndot commentedon Dec 3, 2014
Should we default to a max-width for HTML?
twiss commentedon Dec 3, 2014
Well, I'm not sure, it's just that any document at 1920px width looks awful. Also, often when you're writing a document, you want it to look exactly like this, and don't care about responsive design aficionados.
Why do prefer no
max-widthfor html?ferndot commentedon Dec 4, 2014
I guess it depends on our objective. If we want the HTML format to primarily be a "document" format, then the
max-widthis a good choice. For use cases like #214, themax-widthmight not be beneficial.That might solve our dilemma!
Merge pull request #241 from twiss/editor-width
ferndot commentedon Dec 14, 2014
@twiss: does this sound good?
For new html files:
max-widthFor opened html files:
max-widthdefined in the filesAdditionally, we may want to provide two different html "formats": document (
max-width, etc...) and developer (vanilla HTML). And, we might want to put these into templates so that we don't have to include them in the JS.