Skip to content

Commit fecabfb

Browse files
authored
Merge pull request #17 from topcoder-platform/develop
Version 1.4
2 parents 0e57b43 + 5826a03 commit fecabfb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

js/topcodereditor.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,10 @@
610610
MathJax.typeset();
611611
}
612612
});
613+
614+
// Comment with quotes
615+
$(document).on('ApplyQuoteText',function(ev, quoteText) {
616+
var text = editor.value();
617+
editor.value(quoteText + '\n' + text + '\n');
618+
});
613619
}(jQuery));

0 commit comments

Comments
 (0)