Skip to content

Commit

Permalink
fix: remove blockquote support for moment editor
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 committed Sep 26, 2024
1 parent 56deb16 commit 82bf0ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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.3.1-alpha.0",
"version": "0.3.1-alpha.1",
"description": "Editor for matters.news",
"author": "https://github.com/thematters",
"homepage": "https://github.com/thematters/matters-editor",
Expand Down
6 changes: 2 additions & 4 deletions src/editors/extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,19 @@ const baseEditorExtensions = [
Document,
History,
Placeholder,
// Basic Formats
Text,
Paragraph,
HardBreak.configure({
HTMLAttributes: {
class: 'smart',
},
}),
// Custom Formats
Link,
Blockquote,
]

export const articleEditorExtensions = [
...baseEditorExtensions,
Blockquote,
Gapcursor,
Bold,
Strike,
Expand All @@ -70,7 +68,7 @@ export const articleEditorExtensions = [
FigcaptionKit,
]

export const commentEditorExtensions = [...baseEditorExtensions]
export const commentEditorExtensions = [...baseEditorExtensions, Blockquote]

export const momentEditorExtensions = [...baseEditorExtensions]

Expand Down

0 comments on commit 82bf0ba

Please sign in to comment.