diff --git a/components/Blocks/BlockCommands.tsx b/components/Blocks/BlockCommands.tsx index cbd2d940..078c66d9 100644 --- a/components/Blocks/BlockCommands.tsx +++ b/components/Blocks/BlockCommands.tsx @@ -160,16 +160,16 @@ export const blockCommands: Command[] = [ clearCommandSearchText(entity); }, }, - { - name: "Block Quote", - icon: , - type: "text", - onSelect: async (rep, props, um) => { - if (props.entityID) clearCommandSearchText(props.entityID); - let entity = await createBlockWithType(rep, props, "blockquote"); - clearCommandSearchText(entity); - }, - }, + // { + // name: "Block Quote", + // icon: , + // type: "text", + // onSelect: async (rep, props, um) => { + // if (props.entityID) clearCommandSearchText(props.entityID); + // let entity = await createBlockWithType(rep, props, "blockquote"); + // clearCommandSearchText(entity); + // }, + // }, { name: "Image", diff --git a/components/Blocks/TextBlock/inputRules.ts b/components/Blocks/TextBlock/inputRules.ts index eb33bafd..a4748259 100644 --- a/components/Blocks/TextBlock/inputRules.ts +++ b/components/Blocks/TextBlock/inputRules.ts @@ -152,17 +152,17 @@ export const inputrules = ( return tr; }), - //Blockquote - new InputRule(/^([>]{1})\s$/, (state, match) => { - let tr = state.tr; - tr.delete(0, 2); - repRef.current?.mutate.assertFact({ - entity: propsRef.current.entityID, - attribute: "block/type", - data: { type: "block-type-union", value: "blockquote" }, - }); - return tr; - }), + // //Blockquote + // new InputRule(/^([>]{1})\s$/, (state, match) => { + // let tr = state.tr; + // tr.delete(0, 2); + // repRef.current?.mutate.assertFact({ + // entity: propsRef.current.entityID, + // attribute: "block/type", + // data: { type: "block-type-union", value: "blockquote" }, + // }); + // return tr; + // }), //Header new InputRule(/^([#]{1,3})\s$/, (state, match) => {