.. to be filled out
-
Create a new editor component in
app/public/components/editors
. -
Open
app/public/constants/StructureConstants
. -
Under the
types
key, create a new constant for the editor. -
Under the
editors
key, add a new entry where the key is the value from step 3, and the value is the name of the file created in step 1. Example: If I createdapp/public/components/editors/SinglyLinkedListEditor.js
in step 1, then an appropriateStructureConstants
file would be:{ types: { 'SINGLY_LINKED_LIST': 'this_value_is_displayed_to_the_user' }, editors: { 'this_value_is_displayed_to_the_user': 'SinglyLinkedListEditor' } }
-
Create a reference to the editor component in
app/public/components/editors/index.js