Overview

This is a record of investigating how to customize LEAF Writer.

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.

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.