Skip to content

Commit

Permalink
remove highlightjs
Browse files Browse the repository at this point in the history
  • Loading branch information
akmatoff committed Nov 5, 2024
1 parent e8d95a8 commit c13f6d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/shared/TextEditor/TextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import Image from "@tiptap/extension-image";
import Heading from "@tiptap/extension-heading";
import { common, createLowlight } from "lowlight";
import { FC, forwardRef, useEffect, useState } from "react";
import python from "highlight.js/lib/languages/python";
import "highlight.js/scss/atom-one-dark.scss";

import Typography from "../Typography/Typography";
import EditorMenu from "./EditorMenu";
Expand All @@ -20,7 +18,6 @@ import CustomInput from "../CustomInput/CustomInput";
import { useNotification } from "@/hooks/useNotification";

const lowlight = createLowlight(common);
lowlight.register("python", python);

interface Props {
value: string;
Expand Down

0 comments on commit c13f6d6

Please sign in to comment.