You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Shift+Enter no longer splits inline formatting (e.g., **text**) #185
When pressing Shift+Enter within inline formatted text (e.g., **bold text**), the text splitting behavior has regressed. Previously, pressing Shift+Enter in the middle of a word would split the word while preserving the markdown syntax on both lines. Now it moves the entire word (with syntax) to the next line.
Expected Behavior
Pressing Shift+Enter in the middle of **bol|d** (where | is cursor) should produce:
**bol**
**d**
Actual Behavior
Pressing Shift+Enter in the middle of **bol|d** now produces:
**
bold**
or similar incorrect splitting.
Root Cause
The Shift+Enter handler in contentEditableController.ts:1111-1119 allows default browser behavior without applying markdown-aware splitting logic from markdownSplitter.ts.
Test Coverage Gap
Despite having a comprehensive markdownSplitter.ts utility with proper splitting logic, there are no tests verifying that Shift+Enter actually uses this splitting logic for inline formatted text.
Acceptance Criteria
Shift+Enter within inline formatted text splits at cursor position
Both lines preserve markdown syntax (closing on first line, opening on second)
Works for all inline formats: bold, italic, code, strikethrough
Add comprehensive tests for Shift+Enter with inline formatting
Activity
Fix Shift+Enter inline formatting splitting and add comprehensive tests
Fix Shift+Enter inline formatting splitting and add comprehensive tests
Merge github-origin/main into feature/issue-185
Fix: Shift+Enter inline formatting splitting (Issue #185) (#188)
feat(phase-3): Add comprehensive test coverage for Phase 3 operations…
Phase 3: Advanced & Regression Test Coverage (Sections 9-12, 28 tests) (
Fix 19 frontend test failures by adding database mode guards
Fix 19 frontend test failures by adding database mode guards (#410)
Fix: Shift+Enter inline formatting splitting (Issue #185) (#188)
Phase 3: Advanced & Regression Test Coverage (Sections 9-12, 28 tests) (
Fix 19 frontend test failures by adding database mode guards (#410)
Fix: Shift+Enter inline formatting splitting (Issue #185) (#188)
Phase 3: Advanced & Regression Test Coverage (Sections 9-12, 28 tests) (
Fix 19 frontend test failures by adding database mode guards (#410)
Fix: Shift+Enter inline formatting splitting (Issue #185) (#188)
Phase 3: Advanced & Regression Test Coverage (Sections 9-12, 28 tests) (
Fix 19 frontend test failures by adding database mode guards (#410)