We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6894b commit 5439995Copy full SHA for 5439995
1 file changed
npm-package/CodeEditor.vue
@@ -216,13 +216,15 @@ export default {
216
highlight: {
217
mounted(el, binding) {
218
el.textContent = binding.value;
219
+ el.removeAttribute('data-highlighted');
220
hljs.highlightElement(el);
221
},
222
updated(el, binding) {
223
if (el.scrolling) {
224
el.scrolling = false;
225
} else {
226
227
228
229
}
230
0 commit comments