a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

revert blockquotes for now

+21 -21
+10 -10
components/Blocks/BlockCommands.tsx
··· 160 160 clearCommandSearchText(entity); 161 161 }, 162 162 }, 163 - { 164 - name: "Block Quote", 165 - icon: <QuoteSmall />, 166 - type: "text", 167 - onSelect: async (rep, props, um) => { 168 - if (props.entityID) clearCommandSearchText(props.entityID); 169 - let entity = await createBlockWithType(rep, props, "blockquote"); 170 - clearCommandSearchText(entity); 171 - }, 172 - }, 163 + // { 164 + // name: "Block Quote", 165 + // icon: <QuoteSmall />, 166 + // type: "text", 167 + // onSelect: async (rep, props, um) => { 168 + // if (props.entityID) clearCommandSearchText(props.entityID); 169 + // let entity = await createBlockWithType(rep, props, "blockquote"); 170 + // clearCommandSearchText(entity); 171 + // }, 172 + // }, 173 173 174 174 { 175 175 name: "Image",
+11 -11
components/Blocks/TextBlock/inputRules.ts
··· 152 152 return tr; 153 153 }), 154 154 155 - //Blockquote 156 - new InputRule(/^([>]{1})\s$/, (state, match) => { 157 - let tr = state.tr; 158 - tr.delete(0, 2); 159 - repRef.current?.mutate.assertFact({ 160 - entity: propsRef.current.entityID, 161 - attribute: "block/type", 162 - data: { type: "block-type-union", value: "blockquote" }, 163 - }); 164 - return tr; 165 - }), 155 + // //Blockquote 156 + // new InputRule(/^([>]{1})\s$/, (state, match) => { 157 + // let tr = state.tr; 158 + // tr.delete(0, 2); 159 + // repRef.current?.mutate.assertFact({ 160 + // entity: propsRef.current.entityID, 161 + // attribute: "block/type", 162 + // data: { type: "block-type-union", value: "blockquote" }, 163 + // }); 164 + // return tr; 165 + // }), 166 166 167 167 //Header 168 168 new InputRule(/^([#]{1,3})\s$/, (state, match) => {