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 8b25f68 commit 31de6f6Copy full SHA for 31de6f6
lib/codeit.js
@@ -622,7 +622,7 @@ class CodeitElement extends HTMLElement {
622
if (selContents.includes('\n')) {
623
624
// tab lines in selection
625
- selContents = selContents.split('\n').join('\n' + cd.options.tab);
+ selContents = cd.options.tab + selContents.split('\n').join('\n' + cd.options.tab);
626
627
// insert tabbed selection
628
cd.deleteCurrentSelection();
0 commit comments