refactor: Complete UI cleanup and simplify editor architecture

- Remove complex style preservation system from editor
- Simplify markdown conversion back to straightforward approach
- Remove StyleContext class and style-aware conversion methods
- Switch content type from 'html' back to 'markdown' for consistency
- Clean up editor workflow to focus on core markdown editing
- Remove ~500 lines of unnecessary style complexity

This completes the UI unification cleanup by removing the overly complex
style preservation system that was making the editor harder to maintain.
This commit is contained in:
2025-09-19 16:15:56 +02:00
parent b7998a4b3c
commit 968e64a57e
6 changed files with 21 additions and 496 deletions

View File

@@ -103,8 +103,6 @@ func (i *Injector) InjectBulkContent(elements []ElementWithID) error {
i.injectTextContent(elem.Element.Node, contentItem.Value)
case "markdown":
i.injectMarkdownContent(elem.Element.Node, contentItem.Value)
case "html":
i.injectHTMLContent(elem.Element.Node, contentItem.Value)
case "link":
i.injectLinkContent(elem.Element.Node, contentItem.Value)
default: