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.
2 parents ae5d620 + 67c12e0 commit c7ceaaeCopy full SHA for c7ceaae
js/bootstrap-markdown.js
@@ -565,7 +565,7 @@
565
this.disableButtons('all').enableButtons('cmdPreview');
566
567
// Try to get the content from callback
568
- callbackContent = options.onPreview(this);
+ callbackContent = options.onPreview(this, replacementContainer);
569
// Set the content based from the callback content if string otherwise parse value from textarea
570
content = typeof callbackContent == 'string' ? callbackContent : this.parseContent();
571
0 commit comments