We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f217495 commit 0481bc9Copy full SHA for 0481bc9
src/plugin.js
@@ -56,8 +56,10 @@ window.require(["gitbook"], function(gitbook) {
56
var apiURL = getAPIURL(config, pathname);
57
var resourceURL = getResourceURL(config, pathname, "master");
58
var editURL = getEditURL(config, gitbook.state.filepath, "master");
59
+ var chapterTitle = gitbook.state.chapterTitle;
60
getContentAsync(apiURL).then(function(markdown) {
61
var bug = new BugReporter(getIssueURL(config));
62
+ bug.setTitle(chapterTitle);
63
var selectedText = bug.getSelectedText().trim();
64
let body = 'URL : ' + resourceURL + "\n\n";
65
if (selectedText && selectedText.length > 0) {
0 commit comments