);
@@ -84,6 +99,14 @@ class AppComponent extends Component {
this.clipComplete_click = () => {
bridge().sendCommandToActiveTab({
name: 'completePageHtml',
+ preProcessFor: 'markdown',
+ });
+ }
+
+ this.clipCompleteHtml_click = () => {
+ bridge().sendCommandToActiveTab({
+ name: 'completePageHtml',
+ preProcessFor: 'html',
});
}
@@ -259,6 +282,7 @@ class AppComponent extends Component {
title={content.title}
body_html={content.body_html}
onTitleChange={this.contentTitle_change}
+ command={content.source_command}
/>
}
@@ -360,6 +384,7 @@ class AppComponent extends Component {