Skip to content

Commit 417fbb5

Browse files
committed
Added includeCodeInputInHighlightFunc to rainbow text and character limit templates
1 parent c7656d0 commit 417fbb5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

code-input.js

+2
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ var codeInput = {
242242
result_element.innerHTML += ` <mark class="overflow-msg">${code_input.getAttribute("data-overflow-msg") || "(Character limit reached)"}</mark>`;
243243
}
244244
},
245+
includeCodeInputInHighlightFunc: true,
245246
preElementStyled: true,
246247
isCode: false
247248
}
@@ -256,6 +257,7 @@ var codeInput = {
256257
}
257258
result_element.innerHTML = html_result.join(code_input.template.delimiter);
258259
},
260+
includeCodeInputInHighlightFunc: true,
259261
preElementStyled: true,
260262
isCode: false,
261263
rainbow_colors: rainbow_colors,

code-input.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)