Skip to content

Commit

Permalink
fix: remove character count limit on tiptap (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesara authored Dec 18, 2023
1 parent 005470c commit 80ec3c8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion examples/tiptap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@rocicorp/reflect": "^0.38.202311200859",
"@rocicorp/reflect-yjs": "0.0.1",
"@tiptap/core": "^2.0.4",
"@tiptap/extension-character-count": "^2.0.4",
"@tiptap/extension-collaboration": "^2.0.4",
"@tiptap/extension-collaboration-cursor": "^2.0.4",
"@tiptap/extension-highlight": "^2.0.4",
Expand Down
4 changes: 0 additions & 4 deletions examples/tiptap/src/components/TextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Reflect } from "@rocicorp/reflect/client";
import { nanoid } from "nanoid";
import { EditorContent, useEditor } from "@tiptap/react";

import CharacterCount from "@tiptap/extension-character-count";
import Collaboration from "@tiptap/extension-collaboration";
import CollaborationCursor from "@tiptap/extension-collaboration-cursor";
import Highlight from "@tiptap/extension-highlight";
Expand Down Expand Up @@ -134,9 +133,6 @@ function TiptapEditor({ doc, provider }: EditorProps) {
Highlight,
TaskList,
TaskItem,
CharacterCount.configure({
limit: 10000,
}),
Collaboration.configure({
document: doc,
}),
Expand Down
23 changes: 0 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80ec3c8

Please sign in to comment.