Skip to content

Commit

Permalink
feat: trying out heading lists, nested styles and diving deeper
Browse files Browse the repository at this point in the history
  • Loading branch information
Palanikannan1437 committed Nov 13, 2024
1 parent 2d9a2ba commit b069542
Show file tree
Hide file tree
Showing 71 changed files with 7,002 additions and 104 deletions.
1 change: 1 addition & 0 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@tiptap/extension-task-list": "^2.9.1",
"@tiptap/extension-text-style": "^2.9.1",
"@tiptap/extension-underline": "^2.9.1",
"@tiptap/extension-text-align": "^2.9.1",
"@tiptap/pm": "^2.9.1",
"@tiptap/react": "^2.9.1",
"@tiptap/starter-kit": "^2.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/core/extensions/core-without-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { TableHeader, TableCell, TableRow, Table } from "./table";
import { CustomTextAlignExtension } from "./text-align";
import { CustomCalloutExtensionConfig } from "./callout/extension-config";
import { CustomColorExtension } from "./custom-color";
import { FlatListExtension } from "./flat-list";
import { FlatListExtension } from "./flat-list/flat-list";

export const CoreEditorExtensionsWithoutProps = [
StarterKit.configure({
Expand Down
4 changes: 3 additions & 1 deletion packages/editor/src/core/extensions/extensions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ import {
import { isValidHttpUrl } from "@/helpers/common";
// types
import { IMentionHighlight, IMentionSuggestion, TFileHandler } from "@/types";
import { FlatListExtension } from "./flat-list";
import { FlatListExtension } from "./flat-list/flat-list";
import { FlatHeadingListExtension } from "./flat-list/flat-heading-list";

type TArguments = {
enableHistory: boolean;
Expand Down Expand Up @@ -167,5 +168,6 @@ export const CoreEditorExtensions = (args: TArguments) => {
CustomCalloutExtension,
CustomColorExtension,
FlatListExtension,
// FlatHeadingListExtension,
];
};
Loading

0 comments on commit b069542

Please sign in to comment.