fix: create more toggle fixes in create issue modal (#3355)
* fix: create more issue bugfixes * fix: removing all warning
This commit is contained in:
parent
a679b42200
commit
7ff91fdb82
30 changed files with 119 additions and 98 deletions
|
|
@ -56,6 +56,7 @@ export const CoreEditorExtensions = (
|
|||
code: false,
|
||||
codeBlock: false,
|
||||
horizontalRule: false,
|
||||
blockquote: false,
|
||||
dropcursor: {
|
||||
color: "rgba(var(--color-text-100))",
|
||||
width: 2,
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
import { isAtStartOfNode } from "@tiptap/core";
|
||||
import Blockquote from "@tiptap/extension-blockquote";
|
||||
|
||||
export const CustomQuoteExtension = Blockquote.extend({
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
Enter: ({ editor }) => {
|
||||
Enter: () => {
|
||||
const { $from, $to, $head } = this.editor.state.selection;
|
||||
const parent = $head.node(-1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue