manifold/web/components/editor
Austin Chen 140628692f
Use %mention to embed a contract card in rich text editor (#869)
* Bring up a list of contracts with @

* Fix hot reload for RichContent

* Render contracts as half-size cards

* Use % as the prompt; allow for spaces

* WIP: When there's no matching question, create a new contract

* Revert "WIP: When there's no matching question, create a new contract"

This reverts commit efae1bf715.

* Rename to contract-mention

* WIP: Try to merge in @ and % side by side

* Add a different pluginKey

* Track the prosemirror-state dep
2022-09-15 15:12:26 -07:00
..
contract-mention-list.tsx Use %mention to embed a contract card in rich text editor (#869) 2022-09-15 15:12:26 -07:00
contract-mention-suggestion.ts Use %mention to embed a contract card in rich text editor (#869) 2022-09-15 15:12:26 -07:00
contract-mention.tsx Use %mention to embed a contract card in rich text editor (#869) 2022-09-15 15:12:26 -07:00
embed-modal.tsx Support Figma embeds 2022-08-26 12:41:39 -07:00
market-modal.tsx Adjust market modal styles (#875) 2022-09-13 16:16:07 -07:00
mention-list.tsx Fix user avatar in mention list not updating (#778) 2022-08-18 17:20:40 -07:00
mention-suggestion.ts Fix editor rerendering when you load it (#831) 2022-09-08 13:02:50 -07:00
mention.tsx Rich text in comments, fixed (#719) 2022-08-06 13:39:52 -07:00
tiptap-tweet.tsx Support Youtube, Tweet, and Metaculus embeds in editor (#744) 2022-08-11 20:18:01 -07:00
tweet-embed.tsx Center tweets 2022-09-14 13:19:12 -07:00
utils.ts Add editor toolbar to choose and embed markets (#702) 2022-08-11 14:32:02 -07:00