Skip to content

refactor: Extract helper functions from Editor component into separate files #229

@coderabbitai

Description

@coderabbitai

Description

The Editor component in src/components/Editor/index.tsx has grown too large and is exceeding ESLint's line limit. This issue tracks the effort to:

  1. Move individual utility functions (like getSelectedLogEventNum, handleCopyLogEventAction, handleWordWrapAction, etc.) into separate files
  2. Extract helper components and hooks from the <Editor/> component
  3. Reorganize the code to improve maintainability and readability

Implementation Notes

Related PRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions