Skip to content

Commit

Permalink
fix: temp disable placeholder extension
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 committed May 8, 2023
1 parent 99a3932 commit 07ed99f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matters/matters-editor",
"version": "0.2.0-alpha.36",
"version": "0.2.0-alpha.37",
"description": "Editor for matters.news",
"author": "https://github.com/thematters",
"homepage": "https://github.com/thematters/matters-editor",
Expand Down
14 changes: 7 additions & 7 deletions src/editors/extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import HorizontalRule from '@tiptap/extension-horizontal-rule'
import ListItem from '@tiptap/extension-list-item'
import OrderedList from '@tiptap/extension-ordered-list'
import Paragraph from '@tiptap/extension-paragraph'
import Placeholder from '@tiptap/extension-placeholder'
// import Placeholder from '@tiptap/extension-placeholder'
import Strike from '@tiptap/extension-strike'
import Text from '@tiptap/extension-text'

Expand Down Expand Up @@ -42,9 +42,9 @@ export const makeArticleEditorExtensions = ({
Document,
History,
Gapcursor,
Placeholder.configure({
placeholder,
}),
// Placeholder.configure({
// placeholder,
// }),
// Basic Formats
Text,
Paragraph,
Expand Down Expand Up @@ -84,9 +84,9 @@ export const makeCommentEditorExtensions = ({
return [
Document,
History,
Placeholder.configure({
placeholder,
}),
// Placeholder.configure({
// placeholder,
// }),
// Basic Formats
Text,
Paragraph,
Expand Down

0 comments on commit 07ed99f

Please sign in to comment.