Skip to content

Commit

Permalink
pkp#9840 Add CodeHighlighter as component
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed May 28, 2024
1 parent a36c407 commit 7f2d75b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,6 @@ import FieldUpload from '@/components/Form/fields/FieldUpload.vue';
import FieldUploadImage from '@/components/Form/fields/FieldUploadImage.vue';
import FieldSlider from '@/components/Form/fields/FieldSlider.vue';



import 'highlight.js/styles/stackoverflow-light.css'
import hljs from 'highlight.js/lib/core';
import xml from 'highlight.js/lib/languages/xml';
import hljsVuePlugin from "@highlightjs/vue-plugin";

hljs.registerLanguage('xml', xml);

// Panel components from UI Library
import ListPanel from '@/components/ListPanel/ListPanel.vue';

Expand Down Expand Up @@ -250,8 +241,6 @@ function pkpCreateVueApp(createAppArgs) {
vueApp.component(componentName, allGlobalComponents[componentName]);
});

vueApp.use(hljsVuePlugin);

return vueApp;
}

Expand Down

0 comments on commit 7f2d75b

Please sign in to comment.