Content
View differences
Updated by Judith Roth 2 days ago
**As** a user
**I want to** be able to insert mermaid diagrams in a document
**Acceptance criteria**
* Diagrams support is enabled on documents (see [https://www.blocknotejs.org/docs/features/blocks/diagrams#diagrams](https://www.blocknotejs.org/docs/features/blocks/diagrams#diagrams))
* Markdown export also needs to include the mermaid code for a diagram
* Copy + Paste works well
* HTML
* plaintext / Markdown
* to GitHub (if possible)
<br>
**Technical notes**
* Needs to be implemented in OpenProject (not op-blocknote-extensions)
* Available only for BlockNote >= 0.54 (so requires <mention class="mention" data-id="78981" data-type="work_package" data-text="###COMMS-982" data-display-id="COMMS-982">###COMMS-982</mention> to be merged before)
**I want to** be able to insert mermaid diagrams in a document
**Acceptance criteria**
* Diagrams support is enabled on documents (see [https://www.blocknotejs.org/docs/features/blocks/diagrams#diagrams](https://www.blocknotejs.org/docs/features/blocks/diagrams#diagrams))
* Markdown export also needs to include the mermaid code for a diagram
* Copy + Paste works well
* HTML
* plaintext / Markdown
* to GitHub (if possible)
**Technical notes**
* Needs to be implemented in OpenProject (not op-blocknote-extensions)
* Available only for BlockNote >= 0.54 (so requires <mention class="mention" data-id="78981" data-type="work_package" data-text="###COMMS-982" data-display-id="COMMS-982">###COMMS-982</mention> to be merged before)