From 6c7c375d17a01446c619372b5a73672dcbe16913 Mon Sep 17 00:00:00 2001 From: Reorx Date: Sat, 11 Feb 2023 16:57:39 +0800 Subject: [PATCH] editor: change section order and add more textareas --- src/editor/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editor/main.js b/src/editor/main.js index bb17b13..2c76080 100644 --- a/src/editor/main.js +++ b/src/editor/main.js @@ -23,7 +23,7 @@ import { getCVTitle } from '../themes/data'; import { registerIconLib } from './je-iconlib'; import { registerTheme } from './je-theme'; -const propertiesInOrder = ['basics', 'education', 'work', 'skills', 'projects', 'sideProjects', 'languages', 'interests', 'references', 'awards', 'publications', 'volunteer', 'meta'] +const propertiesInOrder = ['basics', 'education', 'work', 'projects', 'sideProjects', 'skills', 'languages', 'interests', 'references', 'awards', 'publications', 'volunteer', 'meta'] const basicsPropertiesInOrder = ['name', 'label', 'email', 'phone', 'url', 'summary', 'image', 'location', 'profiles'] // toc elements @@ -88,6 +88,7 @@ const keyFormatMap = { 'projects.items.properties.description': 'textarea', 'projects.items.properties.highlights.items': 'textarea', 'sideProjects.items.properties.description': 'textarea', + 'languages.items.properties.summary': 'textarea', 'references.items.properties.reference': 'textarea', 'awards.items.properties.summary': 'textarea', 'publications.items.properties.summary': 'textarea',