Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

first attempt to export html#1256

Merged
kazup01 merged 2 commits into
BoostIO:masterfrom
mslourens:export-html
Dec 28, 2017
Merged

first attempt to export html#1256
kazup01 merged 2 commits into
BoostIO:masterfrom
mslourens:export-html

Conversation

@mslourens

Copy link
Copy Markdown
Contributor

minimum viable implementation of #1233, please let me know what you think.

@BoostnoteBot

Copy link
Copy Markdown
Collaborator

Be sure to be changed browser/main/Detail/SnippetNoteDetail.js.

@kazup01

kazup01 commented Dec 9, 2017

Copy link
Copy Markdown
Member

Awesome!
I think that it would be better if there is feature that share notes on the web, what do you think? @mslourens

@kazup01 kazup01 added the discussion ��� Issue concerns a discussion. label Dec 9, 2017
@mslourens

mslourens commented Dec 10, 2017 via email

Copy link
Copy Markdown
Contributor Author
@kazup01

kazup01 commented Dec 11, 2017

Copy link
Copy Markdown
Member

I understand this pull request. I think that it would be better if could display the notes on web page as a future plan.

@kazup01 kazup01 added awaiting review ❇️ Pull request is awaiting a review. and removed discussion 💬 Issue concerns a discussion. labels Dec 11, 2017
@kazup01 kazup01 requested a review from sota1235 December 11, 2017 09:02
Comment thread browser/components/MarkdownPreview.js Outdated
}

handleSaveAsHtml () {
this.exportAsDocument('html', function formatHtml (value) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need to name function. plz just write such as (value) => this.refs.root.contentWindow.document.documentElement.outerHTML

Comment thread browser/components/MarkdownPreview.js Outdated
],
properties: ['openFile', 'createDirectory']
}
var value = formatter ? formatter.call(this, this.props.value) : this.props.value

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz use const

Comment thread lib/main-menu.js Outdated
}
},
{
label: 'Html (.html)',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTML is better, I think

@sota1235 sota1235 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz confirm my comments

@sota1235 sota1235 removed their assignment Dec 13, 2017

@sota1235 sota1235 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing

@sota1235 sota1235 added next release (v0.8.20) and removed awaiting review ❇️ Pull request is awaiting a review. labels Dec 27, 2017
@kazup01 kazup01 self-requested a review December 28, 2017 01:38

@kazup01 kazup01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine

@kazup01 kazup01 merged commit dd729c4 into BoostIO:master Dec 28, 2017
@kazup01

kazup01 commented Dec 28, 2017

Copy link
Copy Markdown
Member

Merged. Thanks for your contribution @mslourens !

@Rokt33r Rokt33r mentioned this pull request Jan 13, 2018
@mslourens mslourens deleted the export-html branch January 17, 2018 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants