Overview
This is a record of investigating how to customize LEAF Writer.
Canada LINCS / CWRC / LEAF-Writer / LEAF-Writer · GitLab
https://leaf-writer.leaf-vre.org
This time, it is a memo on how to add sample data. We add custom sample data as shown below.

Method
Please refer to the following.
feat: add genji sample (c4e98090) · Commits · Satoru Nakamura / LEAF-Writer · GitLab
XML Semantic Editor
In addition to updating samples.json, it was also necessary to update apps/commons/src/icons/index.tsx to add an icon, although this is not mandatory.
Result
As shown below, the editor environment could be opened from the sample data.

Summary
I hope this serves as a helpful reference for understanding LEAF Writer.



Comments
…