Commit Graph

5 Commits

Author SHA1 Message Date
Austin Chen
c6178812ff Cleanup: merge render functions 2022-09-15 17:19:20 -07:00
Austin Chen
1b7fd31b88 Fix '%' mentioning if you escape out 2022-09-15 17:12:49 -07:00
Austin Chen
b85b0f80c6 Revert "Revert "Use %mention to embed a contract card in rich text editor (#869)""
This reverts commit e0634cea6d.
2022-09-15 16:34:52 -07:00
James Grugett
e0634cea6d Revert "Use %mention to embed a contract card in rich text editor (#869)"
This reverts commit 140628692f.
2022-09-15 18:19:22 -05:00
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