Skip to content

Commit 9843a45

Browse files
committed
Stop syncing "code-input-fallback" attribute onto code-input element
1 parent caf83cc commit 9843a45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code-input.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ var codeInput = {
630630
let textareaAttributeNames = fallbackTextarea.getAttributeNames();
631631
for(let i = 0; i < textareaAttributeNames.length; i++) {
632632
const attr = textareaAttributeNames[i];
633+
if(attr == "data-code-input-fallback") continue;
633634

634635
if(!this.hasAttribute(attr)) {
635636
this.setAttribute(attr, fallbackTextarea.getAttribute(attr));

0 commit comments

Comments
 (0)