Commit Graph

7 Commits

Author SHA1 Message Date
e24cb4a969 feat(playground): add configuration for default editor themes and languages 2025-01-08 16:42:57 +08:00
5e6065d38d feat(playground): implement editor state management and messaging for code execution 2025-01-08 15:30:22 +08:00
513de0c870 feat(editor): add default code values and enhance code saving functionality in CodeEditorStore 2025-01-02 16:27:24 +08:00
fe0c27da0a feat(editor): add editor state management to CodeEditorStore 2025-01-02 15:57:10 +08:00
0be9cf3baa refactor(constants): move languages.ts and themes.ts to editor folder
refactor(imports): update SUPPORTED_LANGUAGES and SUPPORTED_THEMES import path to use editor folder

feat(constants): add MIN_FONT_SIZE、MAX_FONT_SIZE and DEFAULT_FONT_SIZE

feat(store): add font size management to code editor store
2024-12-31 23:57:27 +08:00
49da57872e feat(editor): add theme support to code editor 2024-12-31 20:59:04 +08:00
262fea4938 feat(store): add useCodeEditorStore for managing code editor state
chore(types): define CodeEditorState interface
2024-12-31 20:22:33 +08:00