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 76a83c5 commit 9f7f5efCopy full SHA for 9f7f5ef
src/core/registry.js
@@ -140,6 +140,13 @@ const registry = {
140
patterns.splice(patterns.indexOf("validation"), 1);
141
patterns.unshift("validation");
142
}
143
+ // Add clone-code to the very beginning - we want to copy the markup
144
+ // before any other patterns changed the markup.
145
+ if (patterns.includes("clone-code")) {
146
+ patterns.splice(patterns.indexOf("clone-code"), 1);
147
+ patterns.unshift("clone-code");
148
+ }
149
+
150
return patterns;
151
},
152
0 commit comments